1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
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:
Ulrich Drepper
2002-07-16 20:18:42 +00:00
parent 8a989129d6
commit 547a7a8e54
11 changed files with 62 additions and 17 deletions

View File

@ -1,5 +1,5 @@
/* Enable event process-wide.
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,12 +31,13 @@ td_thr_event_enable (th, onoff)
LOG ("td_thr_event_enable");
/* Write the new value into the thread data structure. */
if (th->th_unique != NULL)
if (ps_pdwrite (th->th_ta_p->ph,
((char *) th->th_unique
+ offsetof (struct _pthread_descr_struct, p_report_events)),
&onoff, sizeof (int)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
if (th->th_unique != NULL)
if (ps_pdwrite (th->th_ta_p->ph,
((char *) th->th_unique
+ offsetof (struct _pthread_descr_struct,
p_report_events)),
&onoff, sizeof (int)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
return TD_OK;
}