From 4e1c4a1670ded7695d0054822669ff7bec7b95cb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 11 Oct 2004 20:50:24 +0000 Subject: [BZ #434] Update. * resolv/res_init.c (res_thread_freeres): Reset _res.options. [BZ #434] --- resolv/res_init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resolv') diff --git a/resolv/res_init.c b/resolv/res_init.c index 4087597a87..731c784e17 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -597,6 +597,9 @@ res_thread_freeres (void) free (_res._u._ext.nsaddrs[ns]); _res._u._ext.nsaddrs[ns] = NULL; } + + /* Make sure we do a full re-initialization the next time. */ + _res.options = 0; } text_set_element (__libc_thread_subfreeres, res_thread_freeres); text_set_element (__libc_subfreeres, res_thread_freeres); -- cgit v1.2.1