The problem is that PHP's chdir() in ZTS doesn't really do chdir(), 'cause it would affect whole process. So mkstemp() creates temp files in cwd of the process, not cwd of the thread.

I'd say this is a bug. We should try and keep meaning of "." consistent as much as we can.

--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to