[cups.bugs] [MOD] STR #1189: wrong error message on backend failure
Marc Schütz
schuetzm at gmx.net
Wed May 25 13:19:07 PDT 2005
[STR New]
When a backend crashes due to a signal, the error message shown is "PID xxx
stopped with status xxx" instead of the expected "PID xxx crashed on
signal xxx".
The following patch (applied to scheduler/main.c) should fix it
(untested):
--- main.c.orig 2005-05-25 14:55:53.000000000 +0200
+++ main.c 2005-05-25 14:56:52.000000000 +0200
@@ -1063,7 +1063,7 @@
if (status)
{
- if (WIFSTOPPED(status))
+ if (!WIFSTOPPED(status))
LogMessage(L_ERROR, "PID %d crashed on signal %d!", pid,
WSTOPSIG(status));
else
Link: http://www.cups.org/str.php?L1189
Version: 1.1.23
More information about the cups
mailing list