diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-03-02 14:07:09 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-02 14:11:26 +0200 |
commit | 0f79ca454f3f7d7ae00997cb41fbb4ec518f89a7 (patch) | |
tree | 92804430c6ee32d3628abbcc1724a227e53701bd /main/musl/0001-fix-handling-of-non-matching-address-family-entries-.patch | |
parent | 46e900d67115a68411ae0405e945258eaad3141c (diff) | |
download | aports-0f79ca454f3f7d7ae00997cb41fbb4ec518f89a7.tar.bz2 aports-0f79ca454f3f7d7ae00997cb41fbb4ec518f89a7.tar.xz |
main/musl: cherry-pick bre fixes from upstream git
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 - |