* exceptions.cc (sigpacket::process): Simplify code slightly.

This commit is contained in:
Corinna Vinschen 2004-03-12 08:22:22 +00:00
parent 9863b78e7b
commit 3c5f8ea418
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2004-03-12 Corinna Vinschen <corinna@vinschen.de>
* exceptions.cc (sigpacket::process): Simplify code slightly.
2004-03-11 Christopher Faylor <cgf@redhat.com>
* cygtls.h (waitq): Declare structure here.

View File

@ -1041,6 +1041,7 @@ sigpacket::process ()
if (handler == (void *) SIG_ERR)
goto exit_sig;
tls->set_siginfo (this);
goto dosig;
stop:
@ -1049,11 +1050,8 @@ stop:
goto done;
handler = (void *) sig_handle_tty_stop;
thissig = global_sigs[SIGSTOP];
goto dosig1;
dosig:
tls->set_siginfo (this);
dosig1:
/* Dispatch to the appropriate function. */
sigproc_printf ("signal %d, about to call %p", si.si_signo, handler);
rc = setup_handler (si.si_signo, handler, thissig, tls);