* 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.
This commit is contained in:
Christopher Faylor
2003-09-09 03:11:31 +00:00
parent 51d340e1c8
commit 3ef50005c7
8 changed files with 24 additions and 22 deletions

View File

@ -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;