aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-06-12 10:01:10 -0400
committerNick Mathewson <nickm@torproject.org>2013-06-12 10:01:10 -0400
commita64d062c958eed643e3bb0802269af12f9eabcb7 (patch)
tree30411ddcd192616ee8082f2cf05f1f1131281204 /src/common/compat.c
parent8c88c75966f834a39786deec6106361f3937563e (diff)
parent3bdc4e5feee7059344f61d8d7362c77fafc5c8a8 (diff)
downloadtor-a64d062c958eed643e3bb0802269af12f9eabcb7.tar
tor-a64d062c958eed643e3bb0802269af12f9eabcb7.tar.gz
Merge remote-tracking branch 'origin/maint-0.2.4'
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index c97a4545c..cb1dd787a 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -248,7 +248,7 @@ tor_mmap_file(const char *filename)
strlcpy(tfilename,filename,MAX_PATH);
#endif
file_handle = CreateFile(tfilename,
- GENERIC_READ, FILE_SHARE_READ,
+ GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_DELETE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,