diff options
author | Christopher Faylor <me@cgf.cx> | 2002-01-11 02:24:06 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-01-11 02:24:06 +0000 |
commit | 06486d9e55dc159c565bda7894e426033f4c9685 (patch) | |
tree | b62ad34c3ca0ec4a38551577b3755592670b7c38 /winsup/cygwin/sigproc.cc | |
parent | bb5225c236040065b2cefb6b143de95970b0313a (diff) | |
download | cygnal-06486d9e55dc159c565bda7894e426033f4c9685.tar.gz cygnal-06486d9e55dc159c565bda7894e426033f4c9685.tar.bz2 cygnal-06486d9e55dc159c565bda7894e426033f4c9685.zip |
* exceptions.cc (sig_handle): Accept a second argument indicating whether the
signal came from this process or not.
* sigproc.h: Reflect sig_handle arg change.
* signal.cc (kill_pgrp): Add sigframe info.
(abort): New function. Eliminates newlib function of same name.
* sigproc.cc (wait_sig): Pass "signal from this process" value as arg 2.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 159c3bd69..80b618c32 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1190,7 +1190,7 @@ wait_sig (VOID *) /* A normal UNIX signal */ default: sigproc_printf ("Got signal %d", sig); - int wasdispatched = sig_handle (sig); + int wasdispatched = sig_handle (sig, rc != 2); if (sig == SIGCHLD && wasdispatched) dispatched_sigchld = 1; /* Need to decrement again to offset increment below since |