diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-05 11:04:19 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-05 11:04:19 +0200 |
commit | 907edc1575e063946de33bf454efa41acff38182 (patch) | |
tree | 6413dcfb81e9247e97b181ebd67d7bfe1f3239a0 /compat | |
parent | 7b5bfc4fbba37237e5a02add4b37e10e290edec5 (diff) |
Correct SHM access flags
Diffstat (limited to 'compat')
-rw-r--r-- | compat/compat.cpp | 2 |
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); |