Re: [PHP4BETA] Re: [PHP-DEV] Should php3_fopen_for_parser change

From: Date: Fri, 26 Nov 1999 07:33:49 +0000
Subject: Re: [PHP4BETA] Re: [PHP-DEV] Should php3_fopen_for_parser change
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6907@lists.php.net to get a copy of this message
On Thu, 25 Nov 1999, Rasmus Lerdorf wrote: > > Are there any publicly available header files which do the necessary > > non-threadsafe -> threadsafe UNIX libc functions mapping. For example, > > strtok -> strtok_r? > > Not that I know of. Would be nice, but I am afraid there is no such magic > silver bullet. It would be an #ifdef nightmare too as this stuff varies > wildly across platforms. there are only a few functions like this used in the "core" of the language - strtok comes to mind. to replace them should not be hard at all. we should not go with the #ifdef way of life, but just reimplemet those thing thread-safe. tc > > -Rasmus > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#6907) next »