]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/glibc/glibc-rh789189.patch
Merge remote-tracking branch 'origin/next' into thirteen
[people/pmueller/ipfire-2.x.git] / src / patches / glibc / glibc-rh789189.patch
1 diff -rup a/resolv/res_init.c b/resolv/res_init.c
2 --- a/resolv/res_init.c 2010-05-04 05:27:23.000000000 -0600
3 +++ b/resolv/res_init.c 2012-02-10 10:20:24.923578396 -0700
4 @@ -325,7 +325,7 @@ __res_vinit(res_state statp, int preinit
5 struct in6_addr a6;
6 char *el;
7
8 - if ((el = strchr(cp, '\n')) != NULL)
9 + if ((el = strpbrk(cp, " \t\n")) != NULL)
10 *el = '\0';
11 if ((el = strchr(cp, SCOPE_DELIMITER)) != NULL)
12 *el = '\0';