diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2015-04-23 12:17:53 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2015-04-23 12:17:53 (GMT) |
commit | 459a48dc5cf4b107660eae9b526ee295d0b3a77b (patch) | |
tree | 6c85fbea2fdd9209b081d5580460d8d175aba0d6 /win | |
parent | c3f11e774127c4045f36116d4b7d02fc0869546c (diff) | |
parent | 1590eb50c516f4fdf7b89882a806258d01bcbee1 (diff) | |
download | tcl-459a48dc5cf4b107660eae9b526ee295d0b3a77b.zip tcl-459a48dc5cf4b107660eae9b526ee295d0b3a77b.tar.gz tcl-459a48dc5cf4b107660eae9b526ee295d0b3a77b.tar.bz2 |
Open linked folder shared on Windows - Patch [19ea026e43]
Diffstat (limited to 'win')
-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) { |