From owner-cvs-all Tue Aug 29 14:25:46 2000 Delivered-To: cvs-all@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 12BD037B423; Tue, 29 Aug 2000 14:25:39 -0700 (PDT) Received: (from ache@localhost) by nagual.pp.ru (8.11.0/8.11.0) id e7TLPT996592; Wed, 30 Aug 2000 01:25:29 +0400 (MSD) (envelope-from ache) Date: Wed, 30 Aug 2000 01:25:27 +0400 From: "Andrey A. Chernov" To: Warner Losh 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> References: <200008292104.OAA53001@freefall.freebsd.org> <200008292113.PAA11550@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200008292113.PAA11550@harmony.village.org>; from imp@village.org on Tue, Aug 29, 2000 at 03:13:18PM -0600 Organization: Biomechanoid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message