]> git.ipfire.org Git - thirdparty/squid.git/commit
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)
commit2548fad3d631055e85be2721798617a9555378d3
treea4115480b7ad95d53ac9560362ccadcdadef5b29
parentf1a5d07184dcb26486e83590f9993d16b5de05fa
parent62fa1d73b24c65e19248ab190cc0d9899d22a7f6
Bug 3805: support shared memory on MacOS X in Mem::IPC::Segment

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.