Date: Tue, 29 Aug 2000 15:27:12 -0600 From: Warner Losh <imp@village.org> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/rpc getpublickey.c netnamer.c Message-ID: <200008292127.PAA11676@harmony.village.org> In-Reply-To: Your message of "Wed, 30 Aug 2000 01:25:27 %2B0400." <20000830012526.A96525@nagual.pp.ru> References: <20000830012526.A96525@nagual.pp.ru> <200008292104.OAA53001@freefall.freebsd.org> <200008292113.PAA11550@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000830012526.A96525@nagual.pp.ru> "Andrey A. Chernov" writes: : 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, ...) Exactly my point... Warner 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?200008292127.PAA11676>