chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / patches / any / cvs-getaddrinfo-single-lookup.diff
1 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
2  
3         [BZ #12350]
4         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
5         bit from old_res_options.
6
7 diff --git a/nscd/aicache.c b/nscd/aicache.c
8 index 3190a13..6c8d83a 100644
9 --- a/nscd/aicache.c
10 +++ b/nscd/aicache.c
11 @@ -534,7 +534,7 @@ next_nip:
12     }
13  
14   out:
15 -  _res.options = old_res_options;
16 +  _res.options |= old_res_options & RES_USE_INET6;
17  
18    if (dataset != NULL && !alloca_used)
19      {