c-stack: work around Irix sigaltstack bug
authorEric Blake <ebb9@byu.net>
Tue, 23 Sep 2008 14:47:26 +0000 (08:47 -0600)
committerEric Blake <ebb9@byu.net>
Tue, 23 Sep 2008 14:47:26 +0000 (08:47 -0600)
commitad73682838ae0e66832aad97a8fbc5fb935130c6
treed6246ca5b2a6bafd2a769a4b176ffa245ca13a4c
parent4849ed6084cd5ecd48fd57e3133d5978a5268edc
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>
ChangeLog
doc/posix-functions/sigaltstack.texi
lib/c-stack.c
m4/c-stack.m4