[uClibc] patch to correct include ucontext.h
Peter S. Mazinger
ps.m at gmx.net
Thu Oct 7 11:04:13 UTC 2004
Hello!
include/ucontext.h was removed from cvs, 2 occurences corrected to use
<sys/ucontext.h> instead of <ucontext.h>
glibc's insecure tempfile handling (link below) could also affect uclibc
(tempfile.c looks similar at the patched location)
http://bugs.gentoo.org/show_bug.cgi?id=66358
Peter
____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
-------------- next part --------------
--- uClibc-0.9.26/include/signal.h.mps 2004-10-07 07:46:05.000000000 +0200
+++ uClibc-0.9.26/include/signal.h 2004-10-07 07:46:40.000000000 +0200
@@ -323,7 +323,7 @@
# include <bits/sigstack.h>
# ifdef __USE_XOPEN
-# include <ucontext.h>
+# include <sys/ucontext.h>
# endif
/* Run signals handlers on the stack specified by SS (if not NULL).
--- uClibc-0.9.26/libpthread/linuxthreads/signals.c.mps 2004-10-07 07:46:22.000000000 +0200
+++ uClibc-0.9.26/libpthread/linuxthreads/signals.c 2004-10-07 07:46:57.000000000 +0200
@@ -20,7 +20,7 @@
#include "pthread.h"
#include "internals.h"
#include "spinlock.h"
-#include <ucontext.h>
+#include <sys/ucontext.h>
#include <bits/sigcontextinfo.h>
/* mods for uClibc: __libc_sigaction is not in any standard headers */
More information about the uClibc
mailing list