* doc/posix-functions/abort.texi (abort): Mention anomalies.
* doc/posix-functions/setjmp.texi (setjmp): Mingw has setjmp.
* doc/posix-functions/sigsetjmp.texi (sigsetjmp): Cygwin has
sigsetjmp.
* doc/posix-functions/siglongjmp.texi (siglongjmp): Cygwin has
siglongjmp, but only as a macro.
* doc/posix-functions/_longjmp.texi (_longjmp): Mention that this
is obsolete.
* doc/posix-functions/_setjmp.texi (_setjmp): Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
2008-06-06 Eric Blake <ebb9@byu.net>
+ Document abort() bugs.
+ * doc/posix-functions/abort.texi (abort): Mention anomalies.
+ * doc/posix-functions/setjmp.texi (setjmp): Mingw has setjmp.
+ * doc/posix-functions/sigsetjmp.texi (sigsetjmp): Cygwin has
+ sigsetjmp.
+ * doc/posix-functions/siglongjmp.texi (siglongjmp): Cygwin has
+ siglongjmp, but only as a macro.
+ * doc/posix-functions/_longjmp.texi (_longjmp): Mention that this
+ is obsolete.
+ * doc/posix-functions/_setjmp.texi (_setjmp): Likewise.
+
Tweak documentation to cover cygwin argz bugs.
* m4/argz.m4 (gl_FUNC_ARGZ): Mention date of last known cygwin
argz bug fix; no code change needed since no cygwin releases
@item
This function is missing on some platforms:
Solaris 2.5.1, mingw.
+
+@item
+This function is obsolete; use @code{siglongjmp} instead.
@end itemize
@item
This function is missing on some platforms:
Solaris 2.5.1.
+
+@item
+This function is obsolete; use @code{sigsetjmp} instead.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
+@item
+Some platforms mistakenly close all stdio streams prior to raising
+SIGABRT:
+Cygwin.
+
+@item
+Some platforms always print a message to stderr, even if a SIGABRT handler
+uses longjmp to resume execution at a safe point:
+mingw.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
-mingw.
-@item
POSIX does not specify whether @code{setjmp} saves the signal mask in the
@code{jmp_buf}. It does on BSD platforms, and on glibc platforms when
@code{_BSD_SOURCE} is defined; in this case @code{setjmp} behaves like
@itemize
@item
This function is missing on some platforms:
-Cygwin, mingw.
+mingw.
+
+@item
+This is only provided as a macro on some platforms:
+Cygwin.
@end itemize
@itemize
@item
This function is missing on some platforms:
-Cygwin, mingw.
+mingw.
@end itemize