]> git.pld-linux.org Git - packages/squid.git/blob - squid-crash-on-ENOSPC.patch
- move cachemgr.conf to webapp dir
[packages/squid.git] / squid-crash-on-ENOSPC.patch
1 diff -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 @@
5      if (!lf->flags.fatal)
6          return;
7  
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.187115 seconds and 3 git commands to generate.