diff options
Diffstat (limited to 'main/musl/0001-fix-handling-of-non-matching-address-family-entries-.patch')
-rw-r--r-- | main/musl/0001-fix-handling-of-non-matching-address-family-entries-.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/main/musl/0001-fix-handling-of-non-matching-address-family-entries-.patch b/main/musl/0001-fix-handling-of-non-matching-address-family-entries-.patch deleted file mode 100644 index 40c2a85122..0000000000 --- a/main/musl/0001-fix-handling-of-non-matching-address-family-entries-.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 8be65561a9f8c641dc22269ae33ff736fdc71f7c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi> -Date: Tue, 23 Feb 2016 08:46:09 +0200 -Subject: [PATCH] fix handling of non-matching address family entries in - /etc/hosts - ---- - src/network/lookup_name.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/network/lookup_name.c b/src/network/lookup_name.c -index a26ad53..db0f237 100644 ---- a/src/network/lookup_name.c -+++ b/src/network/lookup_name.c -@@ -71,7 +71,7 @@ static int name_from_hosts(struct address buf[static MAXADDRS], char canon[stati - /* Isolate IP address to parse */ - for (p=line; *p && !isspace(*p); p++); - *p++ = 0; -- if (name_from_numeric(buf+cnt, line, family)) -+ if (name_from_numeric(buf+cnt, line, family) > 0) - cnt++; - - /* Extract first name as canonical name */ --- -2.7.1 - |