From e361e438a115275fdd56eb25a52b798127adae76 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 27 Feb 2003 09:16:51 +0000 Subject: [PATCH] Update. * resolv/res_libc.c [USE___THREAD] (_res): Don't need the initializer anymore now that res_thread_freeres is more careful. --- ChangeLog | 3 +++ resolv/res_libc.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bbfafe309b..b9e7b6c364 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-02-27 Ulrich Drepper + * 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 [PR libc/4973]. diff --git a/resolv/res_libc.c b/resolv/res_libc.c index a700e9d9b6..763a88725a 100644 --- a/resolv/res_libc.c +++ b/resolv/res_libc.c @@ -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