rpms/cups/F-12 cups-str3399.patch,1.1,1.2 cups.spec,1.575,1.576
Tim Waugh
twaugh at fedoraproject.org
Tue Mar 2 11:26:45 UTC 2010
Author: twaugh
Update of /cvs/pkgs/rpms/cups/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4544
Modified Files:
cups-str3399.patch cups.spec
Log Message:
* Tue Mar 2 2010 Tim Waugh <twaugh at redhat.com> - 1:1.4.2-27
- Don't treat SIGPIPE as an error (bug #569770).
cups-str3399.patch:
main.c | 8 +++++++-
process.c | 3 +++
2 files changed, 10 insertions(+), 1 deletion(-)
Index: cups-str3399.patch
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-12/cups-str3399.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- cups-str3399.patch 16 Nov 2009 17:18:44 -0000 1.1
+++ cups-str3399.patch 2 Mar 2010 11:26:45 -0000 1.2
@@ -22,3 +22,27 @@ diff -up cups-1.4.2/scheduler/process.c.
#endif /* HAVE_SIGSET */
cupsdReleaseSignals();
+--- cups-1.4.2/scheduler/main.c.str3399 2010-03-02 11:04:28.968100478 +0000
++++ cups-1.4.2/scheduler/main.c 2010-03-02 11:04:47.442226409 +0000
+@@ -1733,7 +1733,7 @@ process_children(void)
+ job->backend = -pid;
+
+ if (status && status != SIGTERM && status != SIGKILL &&
+- job->status >= 0)
++ status != SIGPIPE && job->status >= 0)
+ {
+ /*
+ * An error occurred; save the exit status so we know to stop
+@@ -1829,6 +1829,12 @@ process_children(void)
+ "PID %d (%s) was terminated normally with signal %d.",
+ pid, name, status);
+ }
++ else if (status == SIGPIPE)
++ {
++ cupsdLogMessage(CUPSD_LOG_DEBUG,
++ "PID %d (%s) did not catch or ignore signal %d.",
++ pid, name, status);
++ }
+ else if (status)
+ {
+ if (WIFEXITED(status))
Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-12/cups.spec,v
retrieving revision 1.575
retrieving revision 1.576
diff -u -p -r1.575 -r1.576
--- cups.spec 24 Feb 2010 11:10:48 -0000 1.575
+++ cups.spec 2 Mar 2010 11:26:45 -0000 1.576
@@ -8,7 +8,7 @@
Summary: Common Unix Printing System
Name: cups
Version: 1.4.2
-Release: 26%{?dist}
+Release: 27%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@@ -560,6 +560,9 @@ rm -rf $RPM_BUILD_ROOT
%{php_extdir}/phpcups.so
%changelog
+* Tue Mar 2 2010 Tim Waugh <twaugh at redhat.com> - 1:1.4.2-27
+- Don't treat SIGPIPE as an error (bug #569770).
+
* Wed Feb 24 2010 Jiri Popelka <jpopelka at redhat.com> 1:1.4.2-26
- Fixed cupsGetNamedDest() so it falls back to the real default
printer when a default from configuration file does not exist (bug #565569, STR #3503).
More information about the scm-commits
mailing list