rpms/cups/F-11 cups-str3541.patch,NONE,1.1 cups.spec,1.570,1.571

Jiří Popelka jpopelka at fedoraproject.org
Tue Mar 30 16:53:17 UTC 2010


Author: jpopelka

Update of /cvs/pkgs/rpms/cups/F-11
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4502

Modified Files:
	cups.spec 
Added Files:
	cups-str3541.patch 
Log Message:
* Tue Mar 30 2010 Jiri Popelka <jpopelka at redhat.com> 1:1.4.2-28
- Fixed lpstat to adhere to -o option (bug #577901, STR #3541).


cups-str3541.patch:
 lpstat.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE cups-str3541.patch ---
diff -up cups-1.4.2/systemv/lpstat.c.str3541 cups-1.4.2/systemv/lpstat.c
--- cups-1.4.2/systemv/lpstat.c.str3541	2009-02-04 23:54:22.000000000 +0100
+++ cups-1.4.2/systemv/lpstat.c	2010-03-30 17:38:09.000000000 +0200
@@ -581,11 +581,11 @@ match_list(const char *list,		/* I - Lis
 
 
  /*
-  * An empty list always matches...
+  * An empty list never matches...
   */
 
   if (!list || !*list)
-    return (1);
+    return (0);
 
   while (*list)
   {


Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-11/cups.spec,v
retrieving revision 1.570
retrieving revision 1.571
diff -u -p -r1.570 -r1.571
--- cups.spec	10 Mar 2010 11:06:02 -0000	1.570
+++ cups.spec	30 Mar 2010 16:53:17 -0000	1.571
@@ -9,7 +9,7 @@
 Summary: Common Unix Printing System
 Name: cups
 Version: 1.4.2
-Release: 27%{?dist}
+Release: 28%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@@ -80,6 +80,7 @@ Patch64: cups-str3458.patch
 Patch65: cups-EAI_AGAIN.patch
 Patch66: cups-str3505.patch
 Patch67: cups-CVE-2010-0302.patch
+Patch68: cups-str3541.patch
 
 Patch100: cups-lspp.patch
 Epoch: 1
@@ -264,6 +265,7 @@ module. 
 %patch65 -p1 -b .EAI_AGAIN
 %patch66 -p1 -b .str3505
 %patch67 -p1 -b .CVE-2010-0302
+%patch68 -p1 -b .str3541
 
 %if %lspp
 %patch100 -p1 -b .lspp
@@ -555,6 +557,9 @@ rm -rf $RPM_BUILD_ROOT
 %{php_extdir}/phpcups.so
 
 %changelog
+* Tue Mar 30 2010 Jiri Popelka <jpopelka at redhat.com> 1:1.4.2-28
+- Fixed lpstat to adhere to -o option (bug #577901, STR #3541).
+
 * Wed Mar 10 2010 Jiri Popelka <jpopelka at redhat.com> 1:1.4.2-27
 - Fixed (for the third time) patch for STR #3425 to correctly
   remove job info files in /var/spool/cups (bug #571830).



More information about the scm-commits mailing list