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;
}
|