Blame SOURCES/glibc-rh789189.patch

b40826
diff -rup a/resolv/res_init.c b/resolv/res_init.c
b40826
--- a/resolv/res_init.c	2010-05-04 05:27:23.000000000 -0600
b40826
+++ b/resolv/res_init.c	2012-02-10 10:20:24.923578396 -0700
b40826
@@ -325,7 +325,7 @@ __res_vinit(res_state statp, int preinit
b40826
                         struct in6_addr a6;
b40826
                         char *el;
b40826
 
b40826
-                        if ((el = strchr(cp, '\n')) != NULL)
b40826
+                        if ((el = strpbrk(cp, " \t\n")) != NULL)
b40826
                             *el = '\0';
b40826
 			if ((el = strchr(cp, SCOPE_DELIMITER)) != NULL)
b40826
 			    *el = '\0';