* 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

@@ -715,9 +715,6 @@ dll_crt0_0 ()
GetCurrentProcess (), &hMainThread,
0, false, DUPLICATE_SAME_ACCESS);
myself->process_state |= PID_ACTIVE;
myself->process_state &= ~PID_INITIALIZING;
OpenProcessToken (GetCurrentProcess (), MAXIMUM_ALLOWED, &hProcToken);
set_cygwin_privileges (hProcToken);