* dll_init.c (dll_list::load_after_fork): Don't clear in_forkee here.

* fork.cc (frok::errmsg): Rename from 'error'.
(frok::error): New function.  Handle conditional printing of error messages.
(frok::parent): Record hchild handle for use by error function.  Use
throughout.  Use error function rather than setting error pointer directly.
(fork): Clear is_forkee here.  Accommodate rename of 'error' to 'errmsg'.
* sigproc.cc (child_info::proc_retry): Detect EXITCODE_FORK_FAILED.
This commit is contained in:
Christopher Faylor
2011-05-28 20:09:04 +00:00
parent beaedec545
commit 8551087823
4 changed files with 70 additions and 46 deletions

View File

@ -387,7 +387,6 @@ dll_list::load_after_fork (HANDLE parent)
preferred_block = reserve_at (d->name, (DWORD) h);
}
in_forkee = false;
}
struct dllcrt0_info