From 5d1fba6d95dd24848e741d1a85bf1d64aeee39b1 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 21 May 2000 15:40:55 +0000 Subject: Update. 2000-05-20 2000 H.J. Lu * resolv/res_libc.c (_res): Initialize _sock to -1. 2000-05-18 Jakub Jelinek * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie. (fopencookie@@GLIBC_2.2): New. (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New. (fopencookie@GLIBC_2.0): New. * libio/Versions: Add fopencookie to GLIBC_2.2. * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. Closes PR libc/1731. --- linuxthreads/ChangeLog | 4 ++++ linuxthreads/manager.c | 1 + 2 files changed, 5 insertions(+) (limited to 'linuxthreads') diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index f9fca50..d20d68a 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +2000-05-21 Jakub Jelinek + + * manager.c (pthread_handle_create): Initialize p_res._sock to -1. + 2000-05-13 Jakub Jelinek * internals.h (__RES_PTHREAD_INTERNAL): Define. diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c index 2d3e227..2cc652d 100644 --- a/linuxthreads/manager.c +++ b/linuxthreads/manager.c @@ -395,6 +395,7 @@ static int pthread_handle_create(pthread_t *thread, const pthread_attr_t *attr, new_thread->p_canceltype = PTHREAD_CANCEL_DEFERRED; new_thread->p_errnop = &new_thread->p_errno; new_thread->p_h_errnop = &new_thread->p_h_errno; + new_thread->p_res._sock = -1; new_thread->p_resp = &new_thread->p_res; new_thread->p_guardaddr = guardaddr; new_thread->p_guardsize = guardsize; -- cgit v1.1