Hello Wez,

Thursday, December 18, 2003, 12:23:27 PM, you wrote:

> There is a deeper problem; this function is actually called
> from many win32 extensions where the result is correctly free'd,
> so we cannot use a static buffer here at all.

That is wrong behavior. The behavior of dl_error() has to reflect that of
the *nix implementation where it came from and there the buffer is allocated
and freed on the next call. Since also dl_error is only called in non
threaded environments my patch seemd the correct solution. If you now tell
that windows extensions free that pointer that is an error - not the
dl_error() patch.

marcus

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to