diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-09 03:11:31 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-09 03:11:31 +0000 |
commit | 3ef50005c759d5dbdb5a7b31730bf836a6519ab0 (patch) | |
tree | 98ecbe813337b26be5f350ef585952df14df6455 /winsup/cygwin/exceptions.cc | |
parent | 51d340e1c801b82e5e8b58b48639d46681d33f4c (diff) | |
download | cygnal-3ef50005c759d5dbdb5a7b31730bf836a6519ab0.tar.gz cygnal-3ef50005c759d5dbdb5a7b31730bf836a6519ab0.tar.bz2 cygnal-3ef50005c759d5dbdb5a7b31730bf836a6519ab0.zip |
* dcrt0.cc (dlL_crt0_1): Set __argc_safe after __argc is absolutely know to be
set.
* exceptions.cc (sig_handle_tty_stop): Don't reset sigCONT event since it is
reset automatically.
* fork.cc (fork): Remove obsolete usage of PID_SPLIT_HEAP.
* include/sys/cygwin.h: Ditto.
* sigproc.cc (sig_send): Use sigframe init method to set frame since it checks
for previous ownership of the frame.
* sigproc.h (sigframe::init): Accept an "is_exception" argument.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index feffcd3d2..3a599f989 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -618,7 +618,6 @@ sig_handle_tty_stop (int sig) myself->pid, sig, myself->ppid_handle); if (WaitForSingleObject (sigCONT, INFINITE) != WAIT_OBJECT_0) api_fatal ("WaitSingleObject failed, %E"); - (void) ResetEvent (sigCONT); return; } } @@ -1048,23 +1047,23 @@ sig_handle (int sig) goto dosig; - stop: +stop: /* Eat multiple attempts to STOP */ if (ISSTATE (myself, PID_STOPPED)) goto done; handler = (void *) sig_handle_tty_stop; thissig = myself->getsig (SIGSTOP); - dosig: +dosig: /* Dispatch to the appropriate function. */ sigproc_printf ("signal %d, about to call %p", sig, handler); rc = setup_handler (sig, handler, thissig); - done: +done: sigproc_printf ("returning %d", rc); return rc; - exit_sig: +exit_sig: if (sig == SIGQUIT || sig == SIGABRT) { CONTEXT c; |