sigaction structure to setup_handler.
+2006-01-01 Christopher Faylor <cgf@timesys.com>
+
+ * exceptions.cc (sigpacket::process): Pass actual reference to signal's
+ sigaction structure to setup_handler.
+
2006-01-01 Christopher Faylor <cgf@timesys.com>
* exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND.
int rc = 1;
sigproc_printf ("signal %d processing", si.si_signo);
- struct sigaction thissig = global_sigs[si.si_signo];
+ struct sigaction& thissig = global_sigs[si.si_signo];
myself->rusage_self.ru_nsignals++;
if (ISSTATE (myself, PID_STOPPED))
goto done;
handler = (void *) sig_handle_tty_stop;
- thissig = global_sigs[SIGSTOP];
+ struct sigaction dummy = global_sigs[SIGSTOP];
+ thissig = dummy;
dosig:
/* Dispatch to the appropriate function. */