This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Current glibc-2-1-branch linuxthreads/signals.c doesn't compile


Without --with-headers, <ucontext.h> ends up being gotten from the system
headers, which is perhaps why this wasn't caught before.
linuxthreads/signals.c doesn't appear to need any of the functions prototyped in
<ucontext.h>, so I believe this is the correct fix.

1999-10-22 Joel Klecker <espy@debian.org>

	* signals.c: Include <sys/ucontext.h> instead of <ucontext.h>.

Index: linuxthreads/signals.c
===================================================================
RCS file: /cvs/glibc/libc/linuxthreads/signals.c,v
retrieving revision 1.8.2.3
diff -u -r1.8.2.3 signals.c
--- linuxthreads/signals.c	1999/09/25 16:59:50	1.8.2.3
+++ linuxthreads/signals.c	1999/10/22 06:54:36
@@ -19,7 +19,7 @@
 #include "pthread.h"
 #include "internals.h"
 #include "spinlock.h"
-#include <ucontext.h>
+#include <sys/ucontext.h>
 #include <sigcontextinfo.h>
 
 int pthread_sigmask(int how, const sigset_t * newmask, sigset_t * oldmask)
-- 
Joel Klecker (aka Espy)       <URL:mailto:espy@debian.org>
Debian Package Maintainer for the GNU C Library.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]