Restore _res correctlyrelease/2.11/master
commitdf79688ef6f6c746ecb4cc2e212780832e2f9c87
authorUlrich Drepper <drepper@gmail.com>
Mon, 30 May 2011 03:49:49 +0000 (29 23:49 -0400)
committerPetr Baudis <pasky@ucw.cz>
Sat, 3 Sep 2011 18:31:09 +0000 (3 20:31 +0200)
tree6f7765c253bb6405b7776b8d793b8115b7a0772e
parent07c65bd7b3f8aaed2e6e567d4b1a932893e8838a
Restore _res correctly

getaddrinfo works around the resolver functionality to avoid automatic
IPv6 lookups.  The restoring didn't allow for the resolver to set
additional bits in _res.

(cherry picked from commit 7ae22829afb2b4ca531d1c00437d428f55d59341)
ChangeLog
sysdeps/posix/getaddrinfo.c