rpms/cups/F-12 cups-EAI_AGAIN.patch,NONE,1.1 cups.spec,1.572,1.573
Tim Waugh
twaugh at fedoraproject.org
Tue Feb 23 11:02:56 UTC 2010
Author: twaugh
Update of /cvs/pkgs/rpms/cups/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18753
Modified Files:
cups.spec
Added Files:
cups-EAI_AGAIN.patch
Log Message:
* Tue Feb 23 2010 Tim Waugh <twaugh at redhat.com> - 1:1.4.2-24
- Re-initialize the resolver if getnameinfo() returns EAI_AGAIN
(bug #567353).
cups-EAI_AGAIN.patch:
http-addr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE cups-EAI_AGAIN.patch ---
diff -up cups-1.4.2/cups/http-addr.c.EAI_AGAIN cups-1.4.2/cups/http-addr.c
--- cups-1.4.2/cups/http-addr.c.EAI_AGAIN 2010-02-23 10:39:35.038261623 +0000
+++ cups-1.4.2/cups/http-addr.c 2010-02-23 10:41:14.684385991 +0000
@@ -253,7 +253,7 @@ httpAddrLookup(
if (error)
{
- if (error == EAI_FAIL)
+ if (error == EAI_FAIL || error == EAI_AGAIN)
cg->need_res_init = 1;
return (httpAddrString(addr, name, namelen));
Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-12/cups.spec,v
retrieving revision 1.572
retrieving revision 1.573
diff -u -p -r1.572 -r1.573
--- cups.spec 15 Jan 2010 11:18:58 -0000 1.572
+++ cups.spec 23 Feb 2010 11:02:56 -0000 1.573
@@ -8,7 +8,7 @@
Summary: Common Unix Printing System
Name: cups
Version: 1.4.2
-Release: 23%{?dist}
+Release: 24%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@@ -76,6 +76,7 @@ Patch49: cups-gnutls-gcrypt-threads.patc
Patch50: cups-str3458.patch
Patch51: cups-0755.patch
Patch52: cups-str3460.patch
+Patch53: cups-EAI_AGAIN.patch
Patch100: cups-lspp.patch
@@ -258,6 +259,7 @@ module.
%patch50 -p1 -b .str3458
%patch51 -p1 -b .0755
%patch52 -p1 -b .str3460
+%patch53 -p1 -b .EAI_AGAIN
%if %lspp
%patch100 -p1 -b .lspp
@@ -556,6 +558,10 @@ rm -rf $RPM_BUILD_ROOT
%{php_extdir}/phpcups.so
%changelog
+* Tue Feb 23 2010 Tim Waugh <twaugh at redhat.com> - 1:1.4.2-24
+- Re-initialize the resolver if getnameinfo() returns EAI_AGAIN
+ (bug #567353).
+
* Fri Jan 15 2010 Tim Waugh <twaugh at redhat.com> - 1:1.4.2-23
- Don't mark initscript as config file.
- Use %%{_initddir}, %%{_sysconfdir} and SMP make flags.
More information about the scm-commits
mailing list