aboutsummaryrefslogtreecommitdiff
path: root/www/trafficserver/files/patch-tools__jtest__jtest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/trafficserver/files/patch-tools__jtest__jtest.cc')
-rw-r--r--www/trafficserver/files/patch-tools__jtest__jtest.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/trafficserver/files/patch-tools__jtest__jtest.cc b/www/trafficserver/files/patch-tools__jtest__jtest.cc
new file mode 100644
index 000000000000..3ba14b752708
--- /dev/null
+++ b/www/trafficserver/files/patch-tools__jtest__jtest.cc
@@ -0,0 +1,11 @@
+--- tools/jtest/jtest.cc.orig 2014-10-08 13:50:58.000000000 -0400
++++ tools/jtest/jtest.cc 2014-10-08 13:51:12.000000000 -0400
+@@ -2689,7 +2689,7 @@
+ ink_assert( !ftruncate(fd,numbytes) );
+ bytes = (unsigned char *)
+ mmap(NULL,numbytes,PROT_READ|PROT_WRITE,
+- MAP_SHARED|MAP_NORESERVE,
++ MAP_SHARED,
+ fd, 0);
+ if (bytes == (unsigned char*)MAP_FAILED || !bytes)
+ panic("unable to map URL Hash file\n");