about summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-08 14:23:38 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-08 14:23:38 +0000
commit57b4b78a238953382c0e2ef07e969138e96b1f16 (patch)
tree97e7d8be72310897496f1c63123c117e2916d517 /manual
parent95f7cecb96e8c401f1b5c54fe4658457ab1373cb (diff)
downloadglibc-57b4b78a238953382c0e2ef07e969138e96b1f16.tar.gz
glibc-57b4b78a238953382c0e2ef07e969138e96b1f16.tar.xz
glibc-57b4b78a238953382c0e2ef07e969138e96b1f16.zip
Update.
1999-03-08  Ulrich Drepper  <drepper@cygnus.com>

	* manual/signal.texi (Termination in Handler): Correct example.
	Install default handler before reraising the signal.
	Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
Diffstat (limited to 'manual')
-rw-r--r--manual/signal.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/manual/signal.texi b/manual/signal.texi
index f07a748b95..15458c208e 100644
--- a/manual/signal.texi
+++ b/manual/signal.texi
@@ -1514,11 +1514,12 @@ fatal_error_signal (int sig)
 @end group
 
 @group
-  /* @r{Now reraise the signal.  Since the signal is blocked,}
-     @r{it will receive its default handling, which is}
-     @r{to terminate the process.  We could just call}
-     @r{@code{exit} or @code{abort}, but reraising the signal}
-     @r{sets the return status from the process correctly.} */
+  /* @r{Now reraise the signal.  We reactivate the signal's}
+     @r{default handling, which is to terminate the process.}
+     @r{We could just call @code{exit} or @code{abort},}
+     @r{but reraising the signal sets the return status}
+     @r{from the process correctly.} */
+  signal (sig, SIG_DFL);
   raise (sig);
 @}
 @end group