summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2015-05-12 14:45:48 (GMT)
committerdgp@users.sourceforge.net <dgp>2015-05-12 14:45:48 (GMT)
commitd0aa8d7de96b75d273cd7147e85f8589db9659b2 (patch)
treea6b9a76436497d183fb58906942776266ec749ed /win/tclWinFile.c
parent495131c65be70218b6872bf541d836ab3aa2e71a (diff)
parent0860082f278af12301da6ed6b62cb18126f79837 (diff)
downloadtcl-d0aa8d7de96b75d273cd7147e85f8589db9659b2.zip
tcl-d0aa8d7de96b75d273cd7147e85f8589db9659b2.tar.gz
tcl-d0aa8d7de96b75d273cd7147e85f8589db9659b2.tar.bz2
merge trunk
Diffstat (limited to 'win/tclWinFile.c')
-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
--- 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) {