You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2015/01/17 02:47:21 UTC
trafficserver git commit: TS-3302 Fix one more FBSD11 build problem
Repository: trafficserver
Updated Branches:
refs/heads/master d8e977097 -> bc29489e6
TS-3302 Fix one more FBSD11 build problem
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/bc29489e
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/bc29489e
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/bc29489e
Branch: refs/heads/master
Commit: bc29489e61c9cd7d160faef60b879956380b9447
Parents: d8e9770
Author: Leif Hedstrom <zw...@apache.org>
Authored: Fri Jan 16 18:47:16 2015 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Fri Jan 16 18:47:16 2015 -0700
----------------------------------------------------------------------
tools/jtest/jtest.cc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/bc29489e/tools/jtest/jtest.cc
----------------------------------------------------------------------
diff --git a/tools/jtest/jtest.cc b/tools/jtest/jtest.cc
index aca327e..ce1b3b2 100644
--- a/tools/jtest/jtest.cc
+++ b/tools/jtest/jtest.cc
@@ -2679,9 +2679,7 @@ UrlHashTable::UrlHashTable()
if (*url_hash_filename) {
ink_assert( !ftruncate(fd,numbytes) );
bytes = (unsigned char *)
- mmap(NULL,numbytes,PROT_READ|PROT_WRITE,
- MAP_SHARED|MAP_NORESERVE,
- fd, 0);
+ mmap(NULL,numbytes,PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
if (bytes == (unsigned char*)MAP_FAILED || !bytes)
panic("unable to map URL Hash file\n");
} else {