Date: Wed, 30 Aug 2000 01:25:27 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Warner Losh <imp@village.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/rpc getpublickey.c netnamer.c Message-ID: <20000830012526.A96525@nagual.pp.ru> In-Reply-To: <200008292113.PAA11550@harmony.village.org>; from imp@village.org on Tue, Aug 29, 2000 at 03:13:18PM -0600 References: <200008292104.OAA53001@freefall.freebsd.org> <200008292113.PAA11550@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 29, 2000 at 03:13:18PM -0600, Warner Losh wrote: > In message <200008292104.OAA53001@freefall.freebsd.org> "Andrey A. Chernov" writes: > : strtok() -> strsep() (no strtok() in libraries allowed) > > Is that because it is not reentrant? Consider following scenario: 1) User call strtok(his_pointer, ...) 2) Some library functions somehow called (with hidden internal strtok()) 3) User call strtok(NULL, ...) -- Andrey A. Chernov <ache@nagual.pp.ru> http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000830012526.A96525>