Re: nptl 0.55
Jakub Jelinek <[email protected]>
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 23, 2003 at 05:50:47AM -0400, Rhino wrote: > On Tue, 22 Jul 2003 23:36:37 -0700 > Ulrich Drepper <[email protected]> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Quick follow-up release: > > > > http://people.redhat.com/drepper/nptl/nptl-0.55.tar.bz2 > > ftp://people.redhat.com/drepper/nptl/nptl-0.55.tar.bz2 > > > > I make this source drop because of the changes which went into the glibc > > archive today and which probably require these new nptl changes: > > > is this a typo on nptl/res.c ? > > struct __res_state * > __res_state (void) > { > return __resp; > } > > shouldn't be return __res; ? No. __resp is a thread local pointer to struct __res_state. In the initial thread it will be &_res, in other threads it will point into struct __res_state located in struct pthread of the thread in question. Jakub