Author: archaic Date: 2005-05-08 22:03:05 -0600 (Sun, 08 May 2005) New Revision: 947
Added: trunk/hlfs/uClibc-0.9.27-inet6_resolv-1.patch trunk/uClibc/uClibc-0.9.27-inet6_resolv-1.patch Log: Added: uClibc-0.9.27-inet6_resolv-1.patch (HLFS) Added: trunk/hlfs/uClibc-0.9.27-inet6_resolv-1.patch =================================================================== --- trunk/hlfs/uClibc-0.9.27-inet6_resolv-1.patch 2005-05-09 03:57:56 UTC (rev 946) +++ trunk/hlfs/uClibc-0.9.27-inet6_resolv-1.patch 2005-05-09 04:03:05 UTC (rev 947) @@ -0,0 +1,32 @@ +Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes) +Date: 2005-04-29 +Initial Package Version: 0.9.27 +Upstream Status: From Upstream +Origin: http://bugs.uclibc.org/view.php?id=206 +Description: This patch fixes two bugs with uClibc-0.9.27 and ipv6. + +diff -urN uClibc-0.9.27.old/libc/inet/resolv.c uClibc-0.9.27/libc/inet/resolv.c +--- uClibc-0.9.27.old/libc/inet/resolv.c 2005-01-12 08:59:21.000000000 +0100 ++++ uClibc-0.9.27/libc/inet/resolv.c 2005-04-04 22:14:38.000000000 +0200 +@@ -2029,7 +2029,7 @@ + int old_errno = errno; /* Save the old errno and reset errno */ + __set_errno(0); /* to check for missing /etc/hosts. */ + +- if ((i=__get_hosts_byname_r(name, AF_INET, result_buf, ++ if ((i=__get_hosts_byname_r(name, AF_INET6, result_buf, + buf, buflen, result, h_errnop))==0) + return i; + switch (*h_errnop) { +diff -urN uClibc-0.9.27.old/libc/inet/resolv.c uClibc-0.9.27/libc/inet/resolv.c +--- uClibc-0.9.27.old/libc/inet/resolv.c 2005-04-04 22:16:54.000000000 +0200 ++++ uClibc-0.9.27/libc/inet/resolv.c 2005-04-04 22:46:59.000000000 +0200 +@@ -1513,7 +1513,7 @@ + } else { + DPRINTF("Error\n"); + ret=TRY_AGAIN; +- break; /* bad ip address */ ++ continue; /* bad ip address, ignore */ + } + + if (action!=GETHOSTENT) { + Added: trunk/uClibc/uClibc-0.9.27-inet6_resolv-1.patch =================================================================== --- trunk/uClibc/uClibc-0.9.27-inet6_resolv-1.patch 2005-05-09 03:57:56 UTC (rev 946) +++ trunk/uClibc/uClibc-0.9.27-inet6_resolv-1.patch 2005-05-09 04:03:05 UTC (rev 947) @@ -0,0 +1 @@ +link ../hlfs/uClibc-0.9.27-inet6_resolv-1.patch \ No newline at end of file Property changes on: trunk/uClibc/uClibc-0.9.27-inet6_resolv-1.patch ___________________________________________________________________ Name: svn:special + * -- http://linuxfromscratch.org/mailman/listinfo/patches FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
