summaryrefslogtreecommitdiffhomepage
path: root/compat/compat.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-05 11:04:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-05 11:04:19 +0200
commit907edc1575e063946de33bf454efa41acff38182 (patch)
tree6413dcfb81e9247e97b181ebd67d7bfe1f3239a0 /compat/compat.cpp
parent7b5bfc4fbba37237e5a02add4b37e10e290edec5 (diff)
Correct SHM access flags
Diffstat (limited to 'compat/compat.cpp')
-rw-r--r--compat/compat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/compat.cpp b/compat/compat.cpp
index 2263ea11..8eedc845 100644
--- a/compat/compat.cpp
+++ b/compat/compat.cpp
@@ -20,7 +20,7 @@ PortableLockedShm::PortableLockedShm(const char* shmName, const char* mutexName,
mapSize,
shmName);
mem = MapViewOfFile(hMapFile,
- FILE_MAP_READ | FILE_MAP_WRITE,
+ FILE_MAP_WRITE,
0,
0,
mapSize);