This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Patch for glibc 2.1.3pre1
- To: libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
- Subject: Patch for glibc 2.1.3pre1
- From: Andreas Jaeger <aj at suse dot de>
- Date: 06 Jan 2000 10:31:55 +0100
A last minute change to glibc 2.1.3 breaks linuxthreads. There are
extra initializers in pthread.c now.
I'm appending the patch. I'll commit the patch now to CVS so that
people testing via CVS have this version. I ask everybody else who
tests 2.1.3pre1 to apply this patch.
Andreas
2000-01-06 Andreas Jaeger <aj@suse.de>
* pthread.c: Correct last patch: Remove extra initializers.
============================================================
Index: linuxthreads/pthread.c
--- linuxthreads/pthread.c 2000/01/05 17:51:40 1.17.2.9
+++ linuxthreads/pthread.c 2000/01/06 09:30:26
@@ -87,7 +87,6 @@
0, /* int p_priority */
&__pthread_handles[1].h_lock, /* struct _pthread_fastlock * p_lock */
0, /* int p_signal */
- ATOMIC_INITIALIZER, /* struct pthread_atomic p_resume_count */
NULL, /* sigjmp_buf * p_signal_buf */
NULL, /* sigjmp_buf * p_cancel_buf */
0, /* char p_terminated */
@@ -100,8 +99,6 @@
0, /* char p_cancelstate */
0, /* char p_canceltype */
0, /* char p_canceled */
- 0, /* char p_woken_by_cancel */
- NULL, /* struct pthread_extricate_if *p_extricate */
&__pthread_manager_thread.p_errno, /* int *p_errnop */
0, /* int p_errno */
NULL, /* int *p_h_errnop */
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de