Date: 03/16/00
- Next message: port22 <email protected>: "[PHP-DEV] PC / Internet fax solution"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] Re: Current working directory and multi-threaded environments"
- In reply to: Sascha Schumann: "Re: [PHP-DEV] Re: Current working directory and multi-threaded environments"
- Next in thread: Shane Caraveo: "Re: [PHP-DEV] Re: Current working directory and multi-threadedenvironments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 07:34 PM 3/16/00 +0100, Sascha Schumann wrote:
> > 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.
I think that's fine.
> > OK so I won't do these fixes and will wait to see what you do.
>
>Let me know what you think.
I'm really glad about this progress we have made.
The virtual_chdir() function actually is exactly what we need for the
virtual_expand_filepath() function except for the check at the end of it.
It should probably be a separate function wrapped by both virtual_chdir()
and virtual_expand_filepath(), where virtual_chdir() has the additional
check you added.
Great team work IMO.
Andi
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: port22 <email protected>: "[PHP-DEV] PC / Internet fax solution"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] Re: Current working directory and multi-threaded environments"
- In reply to: Sascha Schumann: "Re: [PHP-DEV] Re: Current working directory and multi-threaded environments"
- Next in thread: Shane Caraveo: "Re: [PHP-DEV] Re: Current working directory and multi-threadedenvironments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

