Re: Re: Current working directory and multi-threaded environments

From: Date: Thu, 16 Mar 2000 12:18:38 +0000
Subject: Re: Re: Current working directory and multi-threaded environments
Groups: php.dev 
Request: Send a blank email to php-dev+get-16881@lists.php.net to get a copy of this message
>Are you saying that if we write new thread-safe virtual_chdir() and >virtual_getcwd() functions and substitute the ones existing in PHP things >won't work? I very much disagree with you. You are free to disagree with me, and I may have missed something or I could very much be wrong. It just seems to me that unless more is done than what you propose, examples such as the following will change behavior: http://www.php.net/manual/html/function.readdir.html And that's an easy one. dl, ftp_get and others can be passed relative paths. Fortunately, this list is finite. What would concern me most is the extensions that interface to external code. - Sam Ruby

« previous php.dev (#16881) next »