aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/manager.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-21 15:40:55 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-21 15:40:55 +0000
commit5d1fba6d95dd24848e741d1a85bf1d64aeee39b1 (patch)
tree8645b28b718342b229b4e24cee73452e44c13a1a /linuxthreads/manager.c
parent600a745790b1848910aa8663a0d3478434ef86b3 (diff)
downloadglibc-5d1fba6d95dd24848e741d1a85bf1d64aeee39b1.tar
glibc-5d1fba6d95dd24848e741d1a85bf1d64aeee39b1.tar.gz
glibc-5d1fba6d95dd24848e741d1a85bf1d64aeee39b1.tar.bz2
glibc-5d1fba6d95dd24848e741d1a85bf1d64aeee39b1.zip
Update.
2000-05-20 2000 H.J. Lu <hjl@gnu.org> * resolv/res_libc.c (_res): Initialize _sock to -1. 2000-05-18 Jakub Jelinek <jakub@redhat.com> * 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.
Diffstat (limited to 'linuxthreads/manager.c')
-rw-r--r--linuxthreads/manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 2d3e227f23..2cc652df97 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;