Author: aurel32 Date: 2009-03-15 21:03:52 +0000 (Sun, 15 Mar 2009) New Revision: 3384
Modified: glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-lo.diff Log: submitted-getaddrinfo-lo.diff: remove first part of the patch as it is not strictly needed and rejected upstream. Modified: glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-lo.diff =================================================================== --- glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-lo.diff 2009-03-15 20:23:04 UTC (rev 3383) +++ glibc-package/trunk/debian/patches/any/submitted-getaddrinfo-lo.diff 2009-03-15 21:03:52 UTC (rev 3384) @@ -1,28 +1,10 @@ 2009-03-15 Aurelien Jarno <aurel...@aurel32.net> - * sysdeps/posix/getaddrinfo.c (rfc3484_sort): don't assigned native - result if the result has no associated interface. * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect interface for all 127.X.Y.Z addresses. --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c -@@ -1455,13 +1455,13 @@ rfc3484_sort (const void *p1, const void *p2, void *arg) - - /* Fill in the results in all the records. */ - for (int i = 0; i < src->nresults; ++i) -- if (src->results[i].index == a1_index) -+ if (a1_index != -1 && src->results[i].index == a1_index) - { - assert (src->results[i].native == -1 - || src->results[i].native == a1_native); - src->results[i].native = a1_native; - } -- else if (src->results[i].index == a2_index) -+ else if (a2_index != -1 && src->results[i].index == a2_index) - { - assert (src->results[i].native == -1 - || src->results[i].native == a2_native); @@ -2264,7 +2264,14 @@ getaddrinfo (const char *name, const char *service, tmp.addr[0] = 0; tmp.addr[1] = 0; -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org