rpms/cups/F-10 cups-str3023.patch,NONE,1.1 cups.spec,1.446,1.447

Tim Waugh twaugh at fedoraproject.org
Wed Nov 26 18:19:46 UTC 2008


Author: twaugh

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

Modified Files:
	cups.spec 
Added Files:
	cups-str3023.patch 
Log Message:
* Wed Nov 26 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-10/cups.spec,v
retrieving revision 1.446
retrieving revision 1.447
diff -u -r1.446 -r1.447
--- cups.spec	26 Nov 2008 18:17:39 -0000	1.446
+++ cups.spec	26 Nov 2008 18:19:16 -0000	1.447
@@ -50,6 +50,7 @@
 Patch23: cups-str2101.patch
 Patch24: cups-str2536.patch
 Patch25: cups-str2988.patch
+Patch26: cups-str3023.patch
 Patch100: cups-lspp.patch
 Epoch: 1
 Url: http://www.cups.org/
@@ -188,6 +189,7 @@
 %patch23 -p1 -b .str2101
 %patch24 -p1 -b .str2536
 %patch25 -p1 -b .str2988
+%patch26 -p1 -b .str3023
 
 %if %lspp
 %patch100 -p1 -b .lspp
@@ -480,6 +482,7 @@
 
 %changelog
 * Wed Nov 26 2008 Tim Waugh <twaugh at redhat.com>
+- Fixed cups-polld again for res_init (STR #3023, bug #354071).
 - Added patch to avoid polling busy loop (STR #2988).
 
 * Thu Oct 30 2008 Tim Waugh <twaugh at redhat.com> 1:1.3.9-3




More information about the fedora-extras-commits mailing list