mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r12700@catbus: nickm | 2007-05-09 17:22:53 -0400
[Backport candidate] On windows, open cached-routers with the sharing mode "FILE_SHARE_READ so that other processes can read it while Tor is running. (Reported by Janbar). svn:r10148
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user