php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54110
Patch TSRM-tsrm_virtual_cwd.c.diff revision 2011-02-27 11:06 UTC by carsten_sttgt at gmx dot de

Patch TSRM-tsrm_virtual_cwd.c.diff for Filesystem function related Bug #54110

Patch version 2011-02-27 11:06 UTC

Return to Bug #54110 | Download this patch
Patch Revisions:

Developer: carsten_sttgt@gmx.de

--- TSRM\tsrm_virtual_cwd.c.orig	2011-02-27 11:49:40 +0100
+++ TSRM\tsrm_virtual_cwd.c	2011-02-26 13:22:46 +0100
@@ -860,7 +860,7 @@
 				return -1;
 			}
 
-			hLink = CreateFile(path, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_FLAG_OPEN_REPARSE_POINT|FILE_FLAG_BACKUP_SEMANTICS, NULL);
+			hLink = CreateFile(path, 0, 0, NULL, OPEN_EXISTING, FILE_FLAG_OPEN_REPARSE_POINT|FILE_FLAG_BACKUP_SEMANTICS, NULL);
 			if(hLink == INVALID_HANDLE_VALUE) {
 				return -1;
 			}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 07 06:01:29 2024 UTC