diff options
author | harald.oehlmann@elmicron.de <oehhar> | 2015-04-23 12:17:53 (GMT) |
---|---|---|
committer | harald.oehlmann@elmicron.de <oehhar> | 2015-04-23 12:17:53 (GMT) |
commit | 8a5bf4e95a96c9934becce7991569bf1ab2fc781 (patch) | |
tree | 6c85fbea2fdd9209b081d5580460d8d175aba0d6 | |
parent | 2bc16befd7e6f4d0842cdc5754af3ebc86908571 (diff) | |
parent | ee71b8a656ff4314976fb5c8c6b1c9a89bbdbadf (diff) | |
download | tcl-8a5bf4e95a96c9934becce7991569bf1ab2fc781.zip tcl-8a5bf4e95a96c9934becce7991569bf1ab2fc781.tar.gz tcl-8a5bf4e95a96c9934becce7991569bf1ab2fc781.tar.bz2 |
Open linked folder shared on Windows - Patch [19ea026e43]
-rwxr-xr-x[-rw-r--r--] | win/tclWinFile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c index d6ca348..a5b14b4 100644..100755 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -668,7 +668,7 @@ NativeReadReparse( HANDLE hFile; DWORD returnedLength; - hFile = CreateFile(linkDirPath, desiredAccess, 0, NULL, OPEN_EXISTING, + hFile = CreateFile(linkDirPath, desiredAccess, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS, NULL); if (hFile == INVALID_HANDLE_VALUE) { |