Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2000 17:17:12 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Ruslan Ermilov <ru@sunbay.com>
Cc:        "Andrey A. Chernov" <ache@freebsd.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libalias alias_proxy.c 
Message-ID:  <89084.967648632@axl.fw.uunet.co.za>
In-Reply-To: Your message of "Wed, 30 Aug 2000 18:13:16 %2B0300." <20000830181316.B82227@sunbay.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89084.967648632>