* 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:
@ -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)
|
||||
|
Reference in New Issue
Block a user