diff options
author | sebres <sebres@users.sourceforge.net> | 2018-07-12 14:25:09 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2018-07-12 14:25:09 (GMT) |
commit | a1790a1683260fc9a0492227e22edd6e16d9d640 (patch) | |
tree | c89b101a803ae57a2af382fb9a87956331184d55 /win/tclWinFile.c | |
parent | 2a46a486706d9b30fc3eb90f975317bfdd3a9e40 (diff) | |
parent | 885a163b3c4ec29beb88d95cf6ff60687aa25223 (diff) | |
download | tcl-a1790a1683260fc9a0492227e22edd6e16d9d640.zip tcl-a1790a1683260fc9a0492227e22edd6e16d9d640.tar.gz tcl-a1790a1683260fc9a0492227e22edd6e16d9d640.tar.bz2 |
merge 8.5
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r-- | win/tclWinFile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c index 8bb572b..fc189da 100644 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -2022,7 +2022,8 @@ NativeStat( */ fileHandle = CreateFile(nativePath, GENERIC_READ, - FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, + FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, + NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OPEN_REPARSE_POINT, NULL); if (fileHandle != INVALID_HANDLE_VALUE) { |