* dcrt0.cc (dll_crt0_0): Remove myself settings.

* fork.cc (fork): Set myself process_state
* pinfo.cc (pinfo_init): Ditto.
(pinfo::thisproc): Make sure any sendsig setting is correctly copied.
* pinfo.h: Update copyright.  Remove unused code.
This commit is contained in:
Christopher Faylor
2010-09-01 21:06:36 +00:00
parent b9874a0c14
commit fc0e5071bc
5 changed files with 17 additions and 6 deletions

View File

@ -619,7 +619,10 @@ fork ()
MALLOC_CHECK;
if (ischild)
/* nothing to do */;
{
myself->process_state |= PID_ACTIVE;
myself->process_state &= ~(PID_INITIALIZING | PID_EXITED);
}
else if (res < 0)
{
if (!grouped.error)