summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-10 11:08:11 +0000
committerRoland McGrath <roland@gnu.org>2002-12-10 11:08:11 +0000
commitf0baa8234d9d2f597b478ac989b58c32c15d1857 (patch)
treea42737c9764362b2b62a0f1c7c860f04ecd2206d /manual
parent2402cdf37f8b8f9310af01ce9370d5e111402add (diff)
downloadglibc-f0baa8234d9d2f597b478ac989b58c32c15d1857.tar.gz
glibc-f0baa8234d9d2f597b478ac989b58c32c15d1857.tar.xz
glibc-f0baa8234d9d2f597b478ac989b58c32c15d1857.zip
* 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.
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