mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 16:26:12 +08:00
* exceptions.cc (sigpacket::process): Pass actual reference to signal's
sigaction structure to setup_handler.
This commit is contained in:
parent
a14d65557a
commit
4eab146fc7
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2006-01-01 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND.
|
* exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND.
|
||||||
|
@ -1082,7 +1082,7 @@ sigpacket::process ()
|
|||||||
int rc = 1;
|
int rc = 1;
|
||||||
|
|
||||||
sigproc_printf ("signal %d processing", si.si_signo);
|
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++;
|
myself->rusage_self.ru_nsignals++;
|
||||||
|
|
||||||
@ -1182,7 +1182,8 @@ stop:
|
|||||||
if (ISSTATE (myself, PID_STOPPED))
|
if (ISSTATE (myself, PID_STOPPED))
|
||||||
goto done;
|
goto done;
|
||||||
handler = (void *) sig_handle_tty_stop;
|
handler = (void *) sig_handle_tty_stop;
|
||||||
thissig = global_sigs[SIGSTOP];
|
struct sigaction dummy = global_sigs[SIGSTOP];
|
||||||
|
thissig = dummy;
|
||||||
|
|
||||||
dosig:
|
dosig:
|
||||||
/* Dispatch to the appropriate function. */
|
/* Dispatch to the appropriate function. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user