r4001 - in glibc-package/trunk/debian: . patches patches/any
Author: aurel32
Date: 2009-11-23 05:46:03 +0000 (Mon, 23 Nov 2009)
New Revision: 4001
Added:
glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* patches/any/submitted-getaddrinfo-nodata.diff: new patch from Michael
Stone to fix getaddrinfo() if a plugin returns TRY_AGAIN or NO_DATA.
Closes: #557596.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2009-11-22 22:35:40 UTC (rev 4000)
+++ glibc-package/trunk/debian/changelog 2009-11-23 05:46:03 UTC (rev 4001)
@@ -24,6 +24,9 @@
* Use gcc/g++-4.4 on sparc.
* patches/any/submitted-nis-not-configured.diff: fix getaddrinfo() if
NIS is not configured. Closes: #556600.
+ * patches/any/submitted-getaddrinfo-nodata.diff: new patch from Michael
+ Stone to fix getaddrinfo() if a plugin returns TRY_AGAIN or NO_DATA.
+ Closes: #557596.
[ Carlos O'Donell]
* patches/hppa/local-stack-grows-up.diff: new version.
@@ -32,7 +35,7 @@
* kfreebsd/local-sysdeps.diff: update to revision 2859 (from glibc-bsd).
Closes: #557248.
- -- Aurelien Jarno <aurel32@debian.org> Sun, 22 Nov 2009 23:34:44 +0100
+ -- Aurelien Jarno <aurel32@debian.org> Mon, 23 Nov 2009 06:43:55 +0100
eglibc (2.10.1-7) unstable; urgency=low
Added: glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff (rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-nodata.diff 2009-11-23 05:46:03 UTC (rev 4001)
@@ -0,0 +1,15 @@
+--- a/sysdeps/posix/getaddrinfo.c 2009-11-22 16:21:19.000000000 -0500
++++ b/sysdeps/posix/getaddrinfo.c 2009-11-22 16:28:26.000000000 -0500
+@@ -715,7 +715,10 @@ gaih_inet (const char *name, const struc
+ tmpbuflen, &rc, &herrno,
+ NULL));
+ if (status == NSS_STATUS_SUCCESS)
+- break;
++ {
++ no_data = 0;
++ break;
++ }
+ if (status != NSS_STATUS_TRYAGAIN
+ || rc != ERANGE || herrno != NETDB_INTERNAL)
+ {
+
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2009-11-22 22:35:40 UTC (rev 4000)
+++ glibc-package/trunk/debian/patches/series 2009-11-23 05:46:03 UTC (rev 4001)
@@ -214,3 +214,4 @@
any/submitted-bits-fcntl_h-at.diff
any/cvs-sched_h.diff
any/submitted-nis-not-configured.diff
+any/submitted-getaddrinfo-nodata.diff
Reply to: