mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +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:
@ -1,5 +1,5 @@
|
||||
/* Retrieve event.
|
||||
Copyright (C) 1999, 2001 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
|
||||
|
||||
@ -31,6 +31,11 @@ td_thr_event_getmsg (const td_thrhandle_t *th, td_event_msg_t *msg)
|
||||
|
||||
LOG ("td_thr_event_getmsg");
|
||||
|
||||
/* If the thread descriptor has not yet been created there cannot be
|
||||
any event. */
|
||||
if (th->th_unique == NULL)
|
||||
return TD_NOMSG;
|
||||
|
||||
/* Read the even structure from the target. */
|
||||
if (ps_pdread (th->th_ta_p->ph,
|
||||
((char *) th->th_unique
|
||||
|
Reference in New Issue
Block a user