From 57b4b78a238953382c0e2ef07e969138e96b1f16 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Mar 1999 14:23:38 +0000 Subject: Update. 1999-03-08 Ulrich Drepper * manual/signal.texi (Termination in Handler): Correct example. Install default handler before reraising the signal. Patch by Jochen Voss . --- manual/signal.texi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'manual') diff --git a/manual/signal.texi b/manual/signal.texi index f07a748..15458c2 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 -- cgit v1.1