]> git.pld-linux.org Git - packages/squid.git/blobdiff - squid-crash-on-ENOSPC.patch
- migrated to apache 2.4
[packages/squid.git] / squid-crash-on-ENOSPC.patch
index 6d8c3a081a14d901c1e58a0da52d439afefe782e..a560648b15dea8a57144201a9a01ee01c738f3e1 100644 (file)
@@ -1,11 +1,15 @@
---- squid-2.5.STABLE1/src/logfile.c~   Wed Jun 26 11:57:24 2002
-+++ squid-2.5.STABLE1/src/logfile.c    Fri Feb 28 13:33:57 2003
-@@ -186,5 +186,7 @@
-       return;
+--- squid-3.2.3/src/log/ModStdio.cc~   2012-10-20 14:39:49.000000000 +0200
++++ squid-3.2.3/src/log/ModStdio.cc    2012-10-26 12:23:52.502399442 +0200
+@@ -60,7 +60,11 @@
      if (!lf->flags.fatal)
-       return;
+         return;
 -    fatalf("logfileWrite: %s: %s\n", lf->path, xstrerror());
 +#if HAVE_SYSLOG
 +    syslog(LOG_ALERT, "logfileWrite: %s: %s", lf->path, xstrerror());
++#else
++    debugs(50, 1, "logfileWrite: " << lf->path << ": " << xstrerror());
 +#endif
  }
+ static void
This page took 0.036572 seconds and 4 git commands to generate.