rpms/cups/devel cups-str2664.patch,NONE,1.1 cups.spec,1.379,1.380

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Thu Jan 10 09:15:19 UTC 2008


Author: twaugh

Update of /cvs/pkgs/rpms/cups/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25835

Modified Files:
	cups.spec 
Added Files:
	cups-str2664.patch 
Log Message:
* Thu Jan 10 2008 Tim Waugh <twaugh at redhat.com>
- Apply patch to fix busy looping in the backends (bug #426653, STR #2664).


cups-str2664.patch:

--- NEW FILE cups-str2664.patch ---
diff -up cups-1.3.5/backend/runloop.c~ cups-1.3.5/backend/runloop.c
--- cups-1.3.5/backend/runloop.c~	2007-08-22 19:34:34.000000000 +0100
+++ cups-1.3.5/backend/runloop.c	2008-01-09 15:37:44.000000000 +0000
@@ -216,7 +216,7 @@ backendRunLoop(
       FD_SET(CUPS_SC_FD, &input);
 
     FD_ZERO(&output);
-    if (print_bytes || !use_bc)
+    if (print_bytes || (!use_bc && !side_cb))
       FD_SET(device_fd, &output);
 
     if (use_bc || side_cb)


Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/devel/cups.spec,v
retrieving revision 1.379
retrieving revision 1.380
diff -u -r1.379 -r1.380
--- cups.spec	9 Jan 2008 17:46:46 -0000	1.379
+++ cups.spec	10 Jan 2008 09:14:32 -0000	1.380
@@ -45,6 +45,7 @@
 Patch20: cups-getpass.patch
 Patch21: cups-driverd-timeout.patch
 Patch22: cups-strict-ppd-line-length.patch
+Patch23: cups-str2664.patch
 Patch25: cups-usb-paperout.patch
 Patch100: cups-lspp.patch
 Epoch: 1
@@ -157,6 +158,7 @@
 %patch20 -p1 -b .getpass
 %patch21 -p1 -b .driverd-timeout
 %patch22 -p1 -b .strict-ppd-line-length
+%patch23 -p1 -b .str2664
 %patch25 -p1 -b .usb-paperout
 
 %if %lspp
@@ -449,6 +451,9 @@
 %{cups_serverbin}/daemon/cups-lpd
 
 %changelog
+* Thu Jan 10 2008 Tim Waugh <twaugh at redhat.com>
+- Apply patch to fix busy looping in the backends (bug #426653, STR #2664).
+
 * Wed Jan  9 2008 Tim Waugh <twaugh at redhat.com>
 - Apply patch to prevent overlong PPD lines from causing failures except
   in strict mode (bug #405061).  Needed for compatibility with older




More information about the fedora-extras-commits mailing list