summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2015-04-23 11:21:41 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2015-04-23 11:21:41 (GMT)
commitf7cd99b5152a34e5eecde3de08db482435ddf2eb (patch)
tree60fd398f339fbbb31d16e4e803ec38ad5f1d89dd /win
parent474530cbab83e3898f889a99f8e4421296a34db5 (diff)
downloadtcl-f7cd99b5152a34e5eecde3de08db482435ddf2eb.zip
tcl-f7cd99b5152a34e5eecde3de08db482435ddf2eb.tar.gz
tcl-f7cd99b5152a34e5eecde3de08db482435ddf2eb.tar.bz2
Open linked folder shared on Windows - Patch [19ea026e43]
Diffstat (limited to 'win')
-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 76cd561..fe30c55 100644..100755
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -704,7 +704,7 @@ NativeReadReparse(
HANDLE hFile;
DWORD returnedLength;
- hFile = (*tclWinProcs->createFileProc)(linkDirPath, desiredAccess, 0,
+ hFile = (*tclWinProcs->createFileProc)(linkDirPath, desiredAccess, FILE_SHARE_READ,
NULL, OPEN_EXISTING,
FILE_FLAG_OPEN_REPARSE_POINT|FILE_FLAG_BACKUP_SEMANTICS, NULL);