* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.

This commit is contained in:
Christopher Faylor 2005-09-26 14:58:16 +00:00
parent b470a0e81f
commit a3d5219c5f
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-09-26 Christopher Faylor <cgf@timesys.com>
* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.
2005-09-26 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_dev_raw): Add drive information members

View File

@ -1242,7 +1242,6 @@ _cygtls::call_signal_handler ()
lock (); unlock (); // make sure synchronized
this_sa_flags = sa_flags;
int thissig = sig;
void (*sigfunc) (int) = func;
pop ();
reset_signal_arrived ();
@ -1250,8 +1249,11 @@ _cygtls::call_signal_handler ()
int this_errno = saved_errno;
incyg--;
sig = 0;
if (this_sa_flags & SA_SIGINFO == 0)
sigfunc (thissig);
if (!(this_sa_flags & SA_SIGINFO))
{
void (*sigfunc) (int) = func;
sigfunc (thissig);
}
else
{
siginfo_t thissi = infodata;