Re: Re: Current working directory and multi-threaded environments
| From: | Sascha Schumann | Date: | Thu, 16 Mar 2000 18:34:23 +0000 |
| Subject: | Re: Re: Current working directory and multi-threaded environments | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-16902@lists.php.net to get a copy of this message | ||
> Windows doesn't seem to have strtok_r but its strtok() is thread-safe.
It can use our own version of strtok_r then.
> OK. Don't forget that on Windows the current working directory WILL be
> initialized to d:\foobar so we just have to add to this code that when
> using \foo\bar we should keep the driver letter.
I couldn't find a way to abstract that, so we still have one #if WINDOWS
left in the function body.
> OK so I won't do these fixes and will wait to see what you do.
Let me know what you think.
- Sascha