[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] doc: mention that _BSD_SOURCE is deprecated for _DEFAULT_SOURCE
From: |
Pádraig Brady |
Subject: |
[PATCH] doc: mention that _BSD_SOURCE is deprecated for _DEFAULT_SOURCE |
Date: |
Fri, 28 Nov 2014 11:11:05 +0000 |
* doc/posix-functions/setjmp.texi: Defining _BSD_SOURCE will induce
warnings unless _DEFAULT_SOURCE is also defined.
---
doc/posix-functions/setjmp.texi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/posix-functions/setjmp.texi b/doc/posix-functions/setjmp.texi
index fbf6cc5..fbed109 100644
--- a/doc/posix-functions/setjmp.texi
+++ b/doc/posix-functions/setjmp.texi
@@ -15,9 +15,9 @@ Portability problems not fixed by Gnulib:
@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
address@hidden is defined; in this case @code{setjmp} behaves like
address@hidden(.,1)}, and functions @code{_setjmp} and @code{_longjmp} are
-available that don't save or restore the signal mask. On System V platforms
-(excluding HP-UX), and on glibc platforms by default, @code{setjmp} doesn't
-save the signal mask.
address@hidden (and/or @code{_DEFAULT_SOURCE} on glibc >= 2.19) is defined;
+in this case @code{setjmp} behaves like @code{sigsetjmp(.,1)}, and functions
address@hidden and @code{_longjmp} are available that don't save or restore
+the signal mask. On System V platforms (excluding HP-UX), and on glibc
+platforms by default, @code{setjmp} doesn't save the signal mask.
@end itemize
--
2.1.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] doc: mention that _BSD_SOURCE is deprecated for _DEFAULT_SOURCE,
Pádraig Brady <=