1 $NetBSD: patch-ad,v 1.1.1.1 2011/02/06 05:55:15 schnoebe Exp $
3 # comment out the atttempts at shared memory (at least for NetBSD)
5 --- Foundation/src/SharedMemory_POSIX.cpp.orig 2011-02-09 09:12:55.000000000 +0000
6 +++ Foundation/src/SharedMemory_POSIX.cpp
7 @@ -69,7 +69,8 @@ SharedMemoryImpl::SharedMemoryImpl(const
10 // open the shared memory segment
11 - _fd = ::shm_open(_name.c_str(), flags, S_IRUSR | S_IWUSR);
12 + // _fd = ::shm_open(_name.c_str(), flags, S_IRUSR | S_IWUSR);
15 throw SystemException("Cannot create shared memory object", _name);
17 @@ -78,7 +79,7 @@ SharedMemoryImpl::SharedMemoryImpl(const
21 - ::shm_unlink(_name.c_str());
22 + //::shm_unlink(_name.c_str());
23 throw SystemException("Cannot resize shared memory object", _name);
26 @@ -148,7 +149,7 @@ void SharedMemoryImpl::close()
28 if (!_fileMapped && _server)
30 - ::shm_unlink(_name.c_str());
31 + //::shm_unlink(_name.c_str());