From: [EMAIL PROTECTED] Operating system: Windows NT 4.0 Build 1381 PHP version: 4.0 Latest CVS (2001-06-13) PHP Bug Type: Filesystem function related Bug description: UNC paths do not work with stat() Calling stat() on a UNC path will always fail. ex. stat("\\\\computername\\share\\file"); will get a file not found error. I fixed the bug, here is the patch: cvs server: Diffing TSRM Index: TSRM/tsrm_virtual_cwd.c =================================================================== RCS file: /repository/TSRM/tsrm_virtual_cwd.c,v retrieving revision 1.19 diff -u -r1.19 tsrm_virtual_cwd.c --- TSRM/tsrm_virtual_cwd.c 2001/05/05 16:05:19 1.19 +++ TSRM/tsrm_virtual_cwd.c 2001/06/13 19:28:51 @@ -315,7 +315,7 @@ is_absolute = 1; #ifdef TSRM_WIN32 } else if (IS_UNC_PATH(path_copy, path_length)) { - copy_amount = 1; + copy_amount = COPY_WHEN_ABSOLUTE; is_absolute = 1; } else if (IS_SLASH(path_copy[0])) { copy_amount = 2; -- Edit Bug report at: http://bugs.php.net/?id=11470&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]