]> git.pld-linux.org Git - packages/squid.git/blob - squid-crash-on-ENOSPC.patch
- updated to 3.2.3
[packages/squid.git] / squid-crash-on-ENOSPC.patch
1 --- squid-3.2.3/src/log/ModStdio.cc~    2012-10-20 14:39:49.000000000 +0200
2 +++ squid-3.2.3/src/log/ModStdio.cc     2012-10-26 12:23:52.502399442 +0200
3 @@ -60,7 +60,11 @@
4      if (!lf->flags.fatal)
5          return;
6  
7 -    fatalf("logfileWrite: %s: %s\n", lf->path, xstrerror());
8 +#if HAVE_SYSLOG
9 +    syslog(LOG_ALERT, "logfileWrite: %s: %s", lf->path, xstrerror());
10 +#else
11 +    debugs(50, 1, "logfileWrite: " << lf->path << ": " << xstrerror());
12 +#endif
13  }
14  
15  static void
This page took 0.060716 seconds and 3 git commands to generate.