summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/libc-texinfo.sh6
-rw-r--r--manual/signal.texi7
2 files changed, 11 insertions, 2 deletions
diff --git a/manual/libc-texinfo.sh b/manual/libc-texinfo.sh
index 2e6b32d3f4..79ac9773ee 100644
--- a/manual/libc-texinfo.sh
+++ b/manual/libc-texinfo.sh
@@ -28,6 +28,12 @@ collect_nodes () {
$AWK -f tsort.awk | sed 's/_/ /g'
}
+# Emit "@set ADD-ON" for each add-on contributing a manual chapter.
+for addon in $2; do
+ addon=`basename $addon .texi`
+ echo >&3 "@set $addon"
+done
+
collect_nodes $1 | build_menu
if [ -n "$2" ]; then
diff --git a/manual/signal.texi b/manual/signal.texi
index 903062f3c6..2c06c6ca2d 100644
--- a/manual/signal.texi
+++ b/manual/signal.texi
@@ -2564,8 +2564,11 @@ The prototype for the @code{sigprocmask} function is in @file{signal.h}.
Note that you must not use @code{sigprocmask} in multi-threaded processes,
because each thread has its own signal mask and there is no single process
signal mask. According to POSIX, the behavior of @code{sigprocmask} in a
-multi-threaded process is ``unspeficied''. Instead, use
-@code{pthread_sigmask} (@pxref{Threads and Signal Handling}).
+multi-threaded process is ``unspeficied''.
+Instead, use @code{pthread_sigmask}.
+@ifset linuxthreads
+@xref{Threads and Signal Handling}.
+@end ifset
@comment signal.h
@comment POSIX.1