ID: 36078
Updated by: [EMAIL PROTECTED]
Reported By: jarek at katnik dot pl
-Status: Open
+Status: Bogus
Bug Type: Directory function related
Operating System: Windows XP Pro SP2
PHP Version: 5.1.2
New Comment:
Duplicate of bug #35691.
Previous Comments:
------------------------------------------------------------------------
[2006-01-20 10:10:56] jarek at katnik dot pl
What makes you think that it is Microsoft or IBM bug?
By the way as far as I know ClearCase is developed by Rational Rose not
by IBM.
I found something intresting which could make some clue.
This problem occurs only if I run the script through web server
(Apache/1.3.31). From command line the script works fine.
The script:
<?php
print 'Testing hard drive: ' . (chdir('d:')?'ok':'error');
print "\r\n";
print 'Testing ClearCase drive: ' . (chdir('r:')?'ok':'error');
?>
Apache output:
Testing hard drive: ok
Warning: chdir() [function.chdir]: No such file or directory (errno 2)
in e:\www\regrCmd\test.php on line 4
Testing ClearCase drive: error
Command line output:
E:\www\regrCmd>php test.php
Testing hard drive: ok
Testing ClearCase drive: ok
With best regards
JK
------------------------------------------------------------------------
[2006-01-19 09:08:50] [EMAIL PROTECTED]
Blame Microsoft..or IBM. Not PHP bug.
------------------------------------------------------------------------
[2006-01-19 09:05:54] jarek at katnik dot pl
Description:
------------
When I run chdir on drive mounted by ClearCase
I get warrning and directory doesn't change.
Reproduce code:
---------------
<?php
//Drive 'R:' is mounted by ClearCase.
chdir('R:');
?>
Expected result:
----------------
workinf directory should change to r:
Actual result:
--------------
Warning: chdir() [function.chdir]: No such file or directory (errno 2)
in {scriptName} on line {lineNumber}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36078&edit=1