mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
16470e6c22
- Regen patches for new release and for portlint - Drop creating/deleting /var/run/squid in the rc script as this duplicates handling it in the pkg-plist Changes: * Bug 3574: crashes on reconfigure and startup * Bug 4347: compile errors with LibreSSL 2.3 * Bug 4281: copy-paste typos in src/tools.cc * Bug 4279: No response from proxy for FTP-download of non-existing file * Bug 4188: Bumping intercepted SSL connections does not work on Solaris * Fix incorrect authentication headers on cache digest requests * Fix connection stats, including %<lp, missing for persistent connections * Fix invalid memory access issues in SBuf * Avoid errors when parsing manager ACL in old squid.conf PR: 204217 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer) Tested by: ncrogers@gmail.com
12 lines
566 B
C++
12 lines
566 B
C++
--- src/ipc/mem/Segment.cc.orig 2015-11-01 10:44:25 UTC
|
|
+++ src/ipc/mem/Segment.cc
|
|
@@ -150,7 +150,7 @@ Ipc::Mem::Segment::attach()
|
|
assert(theSize == static_cast<off_t>(static_cast<size_t>(theSize)));
|
|
|
|
void *const p =
|
|
- mmap(NULL, theSize, PROT_READ | PROT_WRITE, MAP_SHARED, theFD, 0);
|
|
+ mmap(NULL, theSize, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_NOSYNC, theFD, 0);
|
|
if (p == MAP_FAILED) {
|
|
debugs(54, 5, HERE << "mmap " << theName << ": " << xstrerror());
|
|
fatalf("Ipc::Mem::Segment::attach failed to mmap(%s): %s\n",
|