mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Fix handling of RES_USE_INET6 big in nscd
This fixes BZ #12350 also for nscd.
This commit is contained in:
parent
4902da17c8
commit
034807a9cb
@ -1,5 +1,9 @@
|
||||
2011-06-27 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
[BZ #12350]
|
||||
* nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
|
||||
bit from old_res_options.
|
||||
|
||||
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
|
||||
|
||||
* inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
|
||||
|
@ -534,7 +534,7 @@ next_nip:
|
||||
}
|
||||
|
||||
out:
|
||||
_res.options = old_res_options;
|
||||
_res.options |= old_res_options & RES_USE_INET6;
|
||||
|
||||
if (dataset != NULL && !alloca_used)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user