diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-03-12 08:22:22 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-03-12 08:22:22 +0000 |
commit | 3c5f8ea418c4c820b28ee37c307254dcb233973c (patch) | |
tree | df4699f0cb2b79f5645d28959d7f5e877beebff5 /winsup | |
parent | 9863b78e7bc842bb1b860be12562e1f45b717aef (diff) | |
download | newlib-3c5f8ea418c4c820b28ee37c307254dcb233973c.zip newlib-3c5f8ea418c4c820b28ee37c307254dcb233973c.tar.gz newlib-3c5f8ea418c4c820b28ee37c307254dcb233973c.tar.bz2 |
* exceptions.cc (sigpacket::process): Simplify code slightly.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/exceptions.cc | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 82257ca..26d52d6 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index bf6409a..5ad6642 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -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); |