mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -04:00
- it is strongly recommended to review release notes http://www.squid-cache.org/Versions/v5/squid-5.0.2-RELEASENOTES.html if you decide to upgrade - The most notable change for maintainer was BDB deprecation in behalf of TDB - Know upstream issues: https://bugs.squid-cache.org/show_bug.cgi?id=5042 PR: 246140 Submitted by: Pavel Timofeev <timp87@gmail.com> (maintainer)
11 lines
446 B
C++
11 lines
446 B
C++
--- src/DiskIO/Mmapped/MmappedFile.cc.orig 2016-12-16 10:06:20 UTC
|
|
+++ src/DiskIO/Mmapped/MmappedFile.cc
|
|
@@ -236,7 +236,7 @@ Mmapping::map()
|
|
static const int pageSize = getpagesize();
|
|
delta = offset % pageSize;
|
|
|
|
- buf = mmap(NULL, length + delta, prot, flags, fd, offset - delta);
|
|
+ buf = mmap(NULL, length + delta, prot, flags | MAP_NOSYNC, fd, offset - delta);
|
|
|
|
if (buf == MAP_FAILED) {
|
|
const int errNo = errno;
|