From owner-cvs-all Wed Aug 30 8:18:35 2000 Delivered-To: cvs-all@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 8F08237B424; Wed, 30 Aug 2000 08:18:28 -0700 (PDT) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 13U9dB-0001sw-00; Wed, 30 Aug 2000 17:18:25 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id RAA00893; Wed, 30 Aug 2000 17:18:22 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 736; Wed Aug 30 17:17:12 2000 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.16 #1) id 13U9c0-000NAw-00; Wed, 30 Aug 2000 17:17:12 +0200 From: Sheldon Hearn To: Ruslan Ermilov Cc: "Andrey A. Chernov" , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libalias alias_proxy.c In-reply-to: Your message of "Wed, 30 Aug 2000 18:13:16 +0300." <20000830181316.B82227@sunbay.com> Date: Wed, 30 Aug 2000 17:17:12 +0200 Message-ID: <89084.967648632@axl.fw.uunet.co.za> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message