]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3805: support shared memory on MacOS X in Mem::IPC::Segment
authorJoshua Root <jmr@macports.org>
Wed, 25 Feb 2015 13:32:14 +0000 (14:32 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 25 Feb 2015 13:32:14 +0000 (14:32 +0100)
MacOS X doesn't support the O_TRUNC flag to shm_open; it is redundant anyway
because the shared memory segment is truncated immediately after opening
as per best practices. With this support Squid can now be built and run
under MacOS X.


Trivial merge