]> git.pld-linux.org Git - packages/squid.git/commitdiff
- new
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 21 May 2004 17:29:37 +0000 (17:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squid-2.5.STABLE5-range_offset_limit.patch -> 1.1

squid-2.5.STABLE5-range_offset_limit.patch [new file with mode: 0644]

diff --git a/squid-2.5.STABLE5-range_offset_limit.patch b/squid-2.5.STABLE5-range_offset_limit.patch
new file mode 100644 (file)
index 0000000..1afb8f2
--- /dev/null
@@ -0,0 +1,17 @@
+Index: squid/src/cache_cf.c
+diff -c squid/src/cache_cf.c:1.396.2.16 squid/src/cache_cf.c:1.396.2.17
+*** squid/src/cache_cf.c:1.396.2.16    Sat Dec  6 10:19:36 2003
+--- squid/src/cache_cf.c       Thu Apr 29 17:56:50 2004
+***************
+*** 502,507 ****
+--- 502,511 ----
+       self_destruct();
+      if ((token = strtok(NULL, w_space)) == NULL)
+       self_destruct();
++     if (strcmp(token, "none") == 0 || strcmp(token, "-1") == 0) {
++      *bptr = (size_t) - 1;
++      return;
++     }
+      d = atof(token);
+      m = u;                   /* default to 'units' if none specified */
+      if (0.0 == d)
This page took 0.115125 seconds and 4 git commands to generate.