Mercurial > hg > octave-kai > gnulib-hg
view doc/posix-functions/sigaltstack.texi @ 10470:9867f4fee019
c-stack: work around Irix sigaltstack bug
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Check
whether sigaltstack uses wrong end of stack_t (copied in part from
libsigsegv).
* lib/c-stack.c (c_stack_action) [!HAVE_LIBSIGSEGV]: Work around
Irix bug, without requiring an over-allocation.
* doc/posix-functions/sigaltstack.texi (sigaltstack): Document the
bug.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Tue, 23 Sep 2008 08:47:26 -0600 |
parents | 070329237839 |
children | c83dc7e8df57 |
line wrap: on
line source
@node sigaltstack @section @code{sigaltstack} @findex sigaltstack POSIX specification: @url{http://www.opengroup.org/susv3xsh/sigaltstack.html} Gnulib module: --- Portability problems fixed by Gnulib: @itemize @end itemize Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: Cygwin, mingw, Interix 3.5, BeOS. @item @code{sigaltstack} doesn't work on HP-UX 11/IA-64 and OpenBSD 3.6/Sparc64. @item This function interprets the @code{ss_sp} member of @code{stack_t} as the upper bound instead of the lower bound of the alternate stack on some platforms: Irix 6.5 @end itemize