This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> 2000-05-20 2000 H.J. Lu <hjl@gnu.org> > > * resolv/res_libc.c (_res): Initialize _sock to -1. > This is ok but not sufficient: 2000-05-21 Jakub Jelinek <jakub@redhat.com> * manager.c (pthread_handle_create): Initialize p_res._sock to -1. --- libc/linuxthreads/manager.c.jj Tue May 9 13:47:36 2000 +++ libc/linuxthreads/manager.c Sun May 21 13:21:59 2000 @@ -395,6 +395,7 @@ static int pthread_handle_create(pthread 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; Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |