head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.07.24.12.15.53; author adam; state Exp; branches; next ; commitid ajeEDfEvck0P2UOG; desc @@ 1.1 log @poco: updated to 1.15.3 1.15.3 Bug fixes, expat CVE updates in bundled deps, MongoDB 6.0/7.0/8.0 compatibility, PostgreSQL URI connection strings, and a corrected %c date/time format specifier (breaking). @ text @$NetBSD: patch-ad,v 1.2 2011/10/17 02:10:31 schnoebe Exp $ Comment out the atttempts at shared memory (at least for NetBSD). --- Foundation/src/SharedMemory_POSIX.cpp.orig 2011-02-09 09:12:55.000000000 +0000 +++ Foundation/src/SharedMemory_POSIX.cpp @@@@ -69,7 +69,8 @@@@ SharedMemoryImpl::SharedMemoryImpl(const flags |= O_RDONLY; // open the shared memory segment - _fd = ::shm_open(_name.c_str(), flags, S_IRUSR | S_IWUSR); + // _fd = ::shm_open(_name.c_str(), flags, S_IRUSR | S_IWUSR); + _fd = -1; if (_fd == -1) throw SystemException("Cannot create shared memory object", _name); @@@@ -78,7 +79,7 @@@@ SharedMemoryImpl::SharedMemoryImpl(const { ::close(_fd); _fd = -1; - ::shm_unlink(_name.c_str()); + //::shm_unlink(_name.c_str()); throw SystemException("Cannot resize shared memory object", _name); } map(addrHint); @@@@ -148,7 +149,7 @@@@ void SharedMemoryImpl::close() } if (!_fileMapped && _server) { - ::shm_unlink(_name.c_str()); + //::shm_unlink(_name.c_str()); } } @