ID:               40560
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andy at advancethermal dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Directory function related
 Operating System: Windows Server 2003
 PHP Version:      5.2.1
-Assigned To:      
+Assigned To:      dmitry


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

[2007-02-20 15:24:32] andy at advancethermal dot com

Description:
------------
DIR functions (scandir, is_dir, etc.) do not recognize root UNC shares
as valid directories, but work on subdirectories of the share. This
problem surfaced after upgrading from 5.2.0 to 5.2.1 and is present in
the latest snap (php5.2-win32-200702201130.zip).

Reproduce code:
---------------
If the share is //fs/misc,

opendir("//fs/misc");

reports:

Warning: scandir(//fs/misc) [function.scandir]: failed to open dir: No
error in myscript.php on line 2

But opening a subdirectory like opendir("//fs/misc/docs"); works
without error.


Expected result:
----------------
No error.

Actual result:
--------------
Warning: scandir(//fs/misc) [function.scandir]: failed to open dir: No
error in myscript.php on line 2


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


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

Reply via email to