From owner-cvs-all Wed Aug 30 8:22:33 2000 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id EC04C37B423; Wed, 30 Aug 2000 08:22:24 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id SAA83565; Wed, 30 Aug 2000 18:21:52 +0300 (EEST) Date: Wed, 30 Aug 2000 18:21:51 +0300 From: Ruslan Ermilov To: Sheldon Hearn Cc: "Andrey A. Chernov" , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libalias alias_proxy.c Message-ID: <20000830182151.D82227@sunbay.com> References: <20000830181316.B82227@sunbay.com> <89084.967648632@axl.fw.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <89084.967648632@axl.fw.uunet.co.za>; from sheldonh@uunet.co.za on Wed, Aug 30, 2000 at 05:17:12PM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 30, 2000 at 05:17:12PM +0200, Sheldon Hearn wrote: > > > On Wed, 30 Aug 2000 18:13:16 +0300, Ruslan Ermilov wrote: > > > The problem is when a program and library use strtok() simultaneously: > > 1. you call strtok() from your main code > > 2. you call a library function > > 3. library function calls strtok() > > 4. you call strtok() from your main code again (poof!) > > Gotcha. Similar enough to non-reentrance to confuse me, different > enough to be its own problem. :-) > Does it mean that you are volunteering to document this? -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message