aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/common/compat.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fb97a35e9..91e95f548f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -113,6 +113,8 @@ Changes in version 0.2.0.1-alpha - 2007-??-??
- Add even more asserts to hunt down bug 417.
- When we are reporting the DirServer line we just parsed, we were
logging the second stanza of the key fingerprint, not the first.
+ - On Windows, we were preventing other processes from reading
+ cached-routers while Tor was running. (Reported by janbar)
o Minor bugfixes (controller), reported by daejees:
- Make 'getinfo fingerprint' return a 551 error if we're not a
diff --git a/src/common/compat.c b/src/common/compat.c
index a55a7e9d4e..a15d09367d 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -199,8 +199,8 @@ tor_mmap_file(const char *filename)
res->mmap_handle = NULL;
res->file_handle = CreateFile(filename,
- GENERIC_READ,
- 0, NULL,
+ GENERIC_READ, FILE_SHARE_READ,
+ NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,
0);