|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-27 12:39 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 12:00:01 2025 UTC |
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;