Re: Checking a problem on Win98

From: Date: Fri, 04 May 2001 00:15:12 +0000
Subject: Re: Checking a problem on Win98
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-3138@lists.php.net to get a copy of this message
Richard, Zeev just commited a patch to TSRM which fixes this. It doesn't happen on NT or 2000 btw. Thanks, Andi At 05:20 PM 5/3/2001 -0500, Richard Lynch wrote:
Don't have current version, but for baseline data: On Win98, PHP 4.0.3, there was: A) Error about "\" in line 8, source altered to "\\" B) Then, this output: change to root '/': C:/ change to existing full path 'c:/windows/temp': c:/windows/temp change to parent '..': c:/windows change to relative subdir 'temp': c:/windows/temp change to parent-parent '../..': c:/ change to root '/': c:/ change to relative subdir from root - does not work (notice the delay) 'windows': Warning: ChDir: No such file or directory (errno 2) in C:/InetPub/wwwroot/chdir.php on line 4 c:/ There was not a noticable delay to notice, however... This is not particularly useful, except as a verification that it was broken back in 4.0.3, but it's what I can do right now... -- WARNING richard@zend.com address is not working -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Andi Gutmans <andi@zend.com> To: <php-qa@lists.php.net> Sent: Wednesday, May 02, 2001 3:51 PM Subject: [PHP-QA] Checking a problem on Win98 Anyone here have Win98 and can check this bug report? I didn't get anywhere on Windows 2000. Thanks, Andi Date: 2 May 2001 20:34:05 -0000 To: php-dev@lists.php.net From: php@gustl.net Subject: [PHP-DEV] PHP 4.0 Bug #10439 Updated: relative chdir from root doesn´t work ID: 10439 User Update by: php@gustl.net Status: Open Bug Type: *Directory/Filesystem functions Description: relative chdir from root doesn´t work Sorry, my only win2000 system is an asp-mysql production system in a network center and not available for testing now. I will install php on this system maybe in two weeks. Previous Comments: --------------------------------------------------------------------------- [2001-05-02 16:29:17] andi@php.net Do you happen to have an NT machine you can try and reproduce this on? I am on Windows 2000 and it works. --------------------------------------------------------------------------- [2001-05-02 16:24:44] php@gustl.net No, new version 4.0.5 didn't solve my problem, testesd under win98. --------------------------------------------------------------------------- [2001-04-30 09:35:24] andi@php.net Works fine in latest CVS under NT. Please try 4.0.5 which should be released today and report back if your problem has been solved. --------------------------------------------------------------------------- [2001-04-22 06:54:22] php@gustl.net On w98 and w98se it is not possible to change from root directory (eg. c:) to a relative subdirectory (e.g. windows). There is a delay of about 1 second. The same when accessing file functions (eg. is_dir, filesize) on filenames in the root directory without path (e.g. filesize ("msdos.sys"), no result is returned. Try this script: <?PHP function mychdir ($text, $dir, $works) { echo "$text '$dir': "; flush(); chdir ($dir); echo
    "<font color=". ($works ? "green" : "red").">".
    str_replace ("\", "/", getcwd ())."</FONT><BR>";
flush (); } mychdir ("change to root", "/", true); mychdir ("change to existing full path", "c:/windows/temp", true); mychdir ("change to parent", "..", true); mychdir ("change to relative subdir", "temp", true); mychdir ("change to parent-parent", "../..", true); mychdir ("change to root", "/", true); mychdir ("change to relative subdir from root - does not work (notice the delay)", "windows", false); ?> Gustav Graf --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10439 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net For additional commands, e-mail: php-qa-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net For additional commands, e-mail: php-qa-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.qa (#3138) next »