ID:               39060
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Critical
+Status:           Closed
 Bug Type:         *Directory/Filesystem functions
 Operating System: FreeBSD
 PHP Version:      5.2.0RC5
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2006-10-06 13:19:39] [EMAIL PROTECTED]

Works on:
linux64-intel
linux32-ppc
linux32-intel
win32

Does not work on:

FreeBSD 5.4 6.0 6.1
Mac OS X

------------------------------------------------------------------------

[2006-10-06 12:48:22] [EMAIL PROTECTED]

$ cvs -d:pserver:[EMAIL PROTECTED]/repository co -r 
PHP_5_2 -d php52 php5
$ cd php52/
$ ./buildconf --force
$ ./configure --without-pear --disable-all --disable-cgi --enable-debug
--enable-maintainer-zts --with-zend-vm=GOTO
$ make
$ sapi/cli/php -r 'chdir("/"); chdir("mnt"); 
var_dump(getcwd());'

Warning: chdir(): No such file or directory (errno 2) in 
Command line code on line 1
string(1) "/"

$ uname -a
FreeBSD lindsay.jeshus.com 6.1-STABLE FreeBSD 6.1-STABLE 
#0: Fri Aug 18 18:58:02 CEST 2006     
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LINDSAY  i386


------------------------------------------------------------------------

[2006-10-06 12:35:29] [EMAIL PROTECTED]

Description:
------------
mkdir(), chdir() and pals always work form the orginal 
cwd.


Reproduce code:
---------------
<?php
chdir("/"); chdir("mnt");
?>


Actual result:
--------------
PHP Warning:  chdir(): No such file or directory (errno 2) 
in Command line code on line 1



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39060&edit=1

Reply via email to