rpms/cups/F-9 cups-str3023.patch,NONE,1.1 cups.spec,1.427,1.428

Tim Waugh twaugh at fedoraproject.org
Tue Nov 25 18:31:01 UTC 2008


Author: twaugh

Update of /cvs/pkgs/rpms/cups/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4738

Modified Files:
	cups.spec 
Added Files:
	cups-str3023.patch 
Log Message:
* Tue Nov 25 2008 Tim Waugh <twaugh at redhat.com>
- Fixed cups-polld again for res_init (STR #3023, bug #354071).


cups-str3023.patch:

--- NEW FILE cups-str3023.patch ---
diff -up cups-1.3.9/cups/http-addrlist.c.str3023 cups-1.3.9/cups/http-addrlist.c
--- cups-1.3.9/cups/http-addrlist.c.str3023	2008-11-25 17:48:44.000000000 +0000
+++ cups-1.3.9/cups/http-addrlist.c	2008-11-25 17:50:24.000000000 +0000
@@ -345,7 +345,7 @@ httpAddrGetList(const char *hostname,	/*
 
       freeaddrinfo(results);
     }
-    else if (error == EAI_FAIL)
+    else if (error == EAI_FAIL || error == EAI_NONAME || error == EAI_AGAIN)
       cg->need_res_init = 1;
 
 #else


Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-9/cups.spec,v
retrieving revision 1.427
retrieving revision 1.428
diff -u -r1.427 -r1.428
--- cups.spec	13 Nov 2008 10:16:17 -0000	1.427
+++ cups.spec	25 Nov 2008 18:30:30 -0000	1.428
@@ -49,6 +49,7 @@
 Patch22: cups-getnameddest.patch
 Patch23: cups-str2536.patch
 Patch24: cups-str2988.patch
+Patch25: cups-str3023.patch
 Patch100: cups-lspp.patch
 Epoch: 1
 Url: http://www.cups.org/
@@ -171,6 +172,7 @@
 %patch22 -p1 -b .getnameddest
 %patch23 -p1 -b .str2536
 %patch24 -p1 -b .str2988
+%patch25 -p1 -b .str3023
 
 %if %lspp
 %patch100 -p1 -b .lspp
@@ -453,6 +455,9 @@
 %{cups_serverbin}/daemon/cups-lpd
 
 %changelog
+* Tue Nov 25 2008 Tim Waugh <twaugh at redhat.com>
+- Fixed cups-polld again for res_init (STR #3023, bug #354071).
+
 * Thu Nov 13 2008 Tim Waugh <twaugh at redhat.com>
 - Added patch to avoid polling busy loop (STR #2988).
 




More information about the scm-commits mailing list