]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 27 Feb 2003 09:16:51 +0000 (09:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 27 Feb 2003 09:16:51 +0000 (09:16 +0000)
* resolv/res_libc.c [USE___THREAD] (_res): Don't need the
initializer anymore now that res_thread_freeres is more careful.

ChangeLog
resolv/res_libc.c

index bbfafe309b3fd46f765b14eb6223897c2b188eed..b9e7b6c3640fd16c82dcbda0155a1189c39f0f9f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-02-27  Ulrich Drepper  <drepper@redhat.com>
 
+       * resolv/res_libc.c [USE___THREAD] (_res): Don't need the
+       initializer anymore now that res_thread_freeres is more careful.
+
        * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
        except the PKTINFO.  Reset interface in PKTINFO.
        Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
index a700e9d9b6122e48fa1b3853cca7206b0126789d..763a88725adfb2ac2b61de90d385e050fbd09b41 100644 (file)
@@ -72,7 +72,7 @@ res_init(void) {
 
 #if USE___THREAD
 /* With __thread support, this per-thread variable is used in all cases.  */
-__thread struct __res_state _res = { ._vcsock = -1 };
+__thread struct __res_state _res;
 extern __thread struct __res_state __libc_res __attribute__ ((alias ("_res")))
   attribute_hidden;
 # define _res __libc_res