mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2002-07-16 Ulrich Drepper <drepper@redhat.com> * locales/th_TH: Change tel_dom_fmt. Patch by Theppitak Karoonboonyanan <thep@links.nectec.or.th>.
This commit is contained in:
@ -36,6 +36,11 @@ td_thr_tsd (const td_thrhandle_t *th, const thread_key_t tk, void **data)
|
||||
|
||||
LOG ("td_thr_tsd");
|
||||
|
||||
/* If there is no thread descriptor there cannot be any thread
|
||||
specific data. */
|
||||
if (th->th_unique == NULL)
|
||||
return TD_BADKEY;
|
||||
|
||||
/* Get the thread descriptor. */
|
||||
if (ps_pdread (th->th_ta_p->ph, th->th_unique, &pds,
|
||||
sizeof (struct _pthread_descr_struct)) != PS_OK)
|
||||
|
Reference in New Issue
Block a user