]> git.pld-linux.org Git - packages/squid.git/blame - squid-crash-on-ENOSPC.patch
- applied upstream
[packages/squid.git] / squid-crash-on-ENOSPC.patch
CommitLineData
8f196190 1diff -urN squid-3.0.STABLE9.orig/src/logfile.cc squid-3.0.STABLE9/src/logfile.cc
2--- squid-3.0.STABLE9.orig/src/logfile.cc 2008-09-09 18:06:44.000000000 +0200
3+++ squid-3.0.STABLE9/src/logfile.cc 2008-09-19 07:51:18.505959615 +0200
4@@ -321,5 +321,7 @@
a15b5b98 5 if (!lf->flags.fatal)
8f196190 6 return;
7
a15b5b98
JR
8- fatalf("logfileWrite: %s: %s\n", lf->path, xstrerror());
9+#if HAVE_SYSLOG
10+ syslog(LOG_ALERT, "logfileWrite: %s: %s", lf->path, xstrerror());
11+#endif
12 }
This page took 0.030097 seconds and 4 git commands to generate.