summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2015-04-23 12:17:53 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2015-04-23 12:17:53 (GMT)
commitddd3275d7c30ea02bdff86cd55edc4f7c9e7babc (patch)
tree6c85fbea2fdd9209b081d5580460d8d175aba0d6
parentae094b90ceaa1084525e1a3fca5331d67e398b60 (diff)
parentf7cd99b5152a34e5eecde3de08db482435ddf2eb (diff)
downloadtcl-ddd3275d7c30ea02bdff86cd55edc4f7c9e7babc.zip
tcl-ddd3275d7c30ea02bdff86cd55edc4f7c9e7babc.tar.gz
tcl-ddd3275d7c30ea02bdff86cd55edc4f7c9e7babc.tar.bz2
Open linked folder shared on Windows - Patch [19ea026e43]
-rwxr-xr-x[-rw-r--r--]win/tclWinFile.c2
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) {