summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches/inet6_hosts_resolve.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-20 16:42:18 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-20 16:42:18 +0000
commitb5d59a3b1c9d4a19ed29b769c4bb6d2317d2c31f (patch)
treeee742ce7693831fdfbdf99b473e11758a83da18a /toolchain/uClibc/patches/inet6_hosts_resolve.patch
parent96bfbf41a79a399cebc3273380339b4319e850ec (diff)
update to uClibc v0.9.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2200 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/patches/inet6_hosts_resolve.patch')
-rw-r--r--toolchain/uClibc/patches/inet6_hosts_resolve.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/toolchain/uClibc/patches/inet6_hosts_resolve.patch b/toolchain/uClibc/patches/inet6_hosts_resolve.patch
deleted file mode 100644
index fd1aaa1d2..000000000
--- a/toolchain/uClibc/patches/inet6_hosts_resolve.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-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) {