svn commit: trunk/uClibc/libpthread/linuxthreads.old_db
vapier at uclibc.org
vapier at uclibc.org
Mon Nov 21 23:55:01 UTC 2005
Author: vapier
Date: 2005-11-21 15:55:00 -0800 (Mon, 21 Nov 2005)
New Revision: 12465
Log:
2005-11-02 Daniel Jacobowitz <dan at codesourcery.com>
* td_ta_clear_event.c (td_ta_clear_event): Correct arguments to
sizeof.
* td_ta_set_event.c (td_ta_set_event): Likewise.
* td_thr_clear_event.c (td_thr_clear_event): Likewise.
* td_thr_set_event.c (td_thr_set_event): Likewise.
Modified:
trunk/uClibc/libpthread/linuxthreads.old_db/td_ta_clear_event.c
trunk/uClibc/libpthread/linuxthreads.old_db/td_ta_set_event.c
trunk/uClibc/libpthread/linuxthreads.old_db/td_thr_clear_event.c
trunk/uClibc/libpthread/linuxthreads.old_db/td_thr_set_event.c
Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads.old_db/td_ta_clear_event.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old_db/td_ta_clear_event.c 2005-11-21 23:54:50 UTC (rev 12464)
+++ trunk/uClibc/libpthread/linuxthreads.old_db/td_ta_clear_event.c 2005-11-21 23:55:00 UTC (rev 12465)
@@ -1,5 +1,5 @@
/* Globally disable events.
- Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper at cygnus.com>, 1999.
@@ -37,7 +37,7 @@
/* Write the new value into the thread data structure. */
if (ps_pdread (ta->ph, ta->pthread_threads_eventsp,
- &old_event, sizeof (td_thrhandle_t)) != PS_OK)
+ &old_event, sizeof (td_thr_events_t)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
/* Remove the set bits in. */
@@ -46,7 +46,7 @@
/* Write the new value into the thread data structure. */
if (ps_pdwrite (ta->ph, ta->pthread_threads_eventsp,
- &old_event, sizeof (td_thrhandle_t)) != PS_OK)
+ &old_event, sizeof (td_thr_events_t)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
return TD_OK;
Modified: trunk/uClibc/libpthread/linuxthreads.old_db/td_ta_set_event.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old_db/td_ta_set_event.c 2005-11-21 23:54:50 UTC (rev 12464)
+++ trunk/uClibc/libpthread/linuxthreads.old_db/td_ta_set_event.c 2005-11-21 23:55:00 UTC (rev 12465)
@@ -1,5 +1,5 @@
/* Globally enable events.
- Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper at cygnus.com>, 1999.
@@ -37,7 +37,7 @@
/* Write the new value into the thread data structure. */
if (ps_pdread (ta->ph, ta->pthread_threads_eventsp,
- &old_event, sizeof (td_thrhandle_t)) != PS_OK)
+ &old_event, sizeof (td_thr_events_t)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
/* Or the new bits in. */
@@ -46,7 +46,7 @@
/* Write the new value into the thread data structure. */
if (ps_pdwrite (ta->ph, ta->pthread_threads_eventsp,
- &old_event, sizeof (td_thrhandle_t)) != PS_OK)
+ &old_event, sizeof (td_thr_events_t)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
return TD_OK;
Modified: trunk/uClibc/libpthread/linuxthreads.old_db/td_thr_clear_event.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old_db/td_thr_clear_event.c 2005-11-21 23:54:50 UTC (rev 12464)
+++ trunk/uClibc/libpthread/linuxthreads.old_db/td_thr_clear_event.c 2005-11-21 23:55:00 UTC (rev 12465)
@@ -1,5 +1,5 @@
/* Disable specific event for thread.
- Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001, 2002, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper at cygnus.com>, 1999.
@@ -43,7 +43,7 @@
((char *) th->th_unique
+ offsetof (struct _pthread_descr_struct,
p_eventbuf.eventmask)),
- &old_event, sizeof (td_thrhandle_t)) != PS_OK)
+ &old_event, sizeof (td_thr_events_t)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
/* Remove the set bits in. */
@@ -55,7 +55,7 @@
((char *) th->th_unique
+ offsetof (struct _pthread_descr_struct,
p_eventbuf.eventmask)),
- &old_event, sizeof (td_thrhandle_t)) != PS_OK)
+ &old_event, sizeof (td_thr_events_t)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
return TD_OK;
Modified: trunk/uClibc/libpthread/linuxthreads.old_db/td_thr_set_event.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old_db/td_thr_set_event.c 2005-11-21 23:54:50 UTC (rev 12464)
+++ trunk/uClibc/libpthread/linuxthreads.old_db/td_thr_set_event.c 2005-11-21 23:55:00 UTC (rev 12465)
@@ -1,5 +1,5 @@
/* Enable specific event for thread.
- Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001, 2002, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper at cygnus.com>, 1999.
@@ -43,7 +43,7 @@
((char *) th->th_unique
+ offsetof (struct _pthread_descr_struct,
p_eventbuf.eventmask)),
- &old_event, sizeof (td_thrhandle_t)) != PS_OK)
+ &old_event, sizeof (td_thr_events_t)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
/* Or the new bits in. */
@@ -55,7 +55,7 @@
((char *) th->th_unique
+ offsetof (struct _pthread_descr_struct,
p_eventbuf.eventmask)),
- &old_event, sizeof (td_thrhandle_t)) != PS_OK)
+ &old_event, sizeof (td_thr_events_t)) != PS_OK)
return TD_ERR; /* XXX Other error value? */
return TD_OK;
More information about the uClibc-cvs
mailing list