aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--manual/libc-texinfo.sh6
-rw-r--r--manual/signal.texi7
3 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8106f16..59682d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-12-10 Roland McGrath <roland@redhat.com>
+ * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that
+ contributes a manual chapter.
+ * manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads
+ around xref to it.
+
* sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to
and move contents to ...
(EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch.
diff --git a/manual/libc-texinfo.sh b/manual/libc-texinfo.sh
index 2e6b32d..79ac977 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 903062f..2c06c6c 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