* 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:
@ -912,6 +912,9 @@ child_info::proc_retry (HANDLE h)
|
||||
if (retry-- > 0)
|
||||
exit_code = 0;
|
||||
break;
|
||||
case EXITCODE_FORK_FAILED: /* windows prevented us from forking */
|
||||
break;
|
||||
|
||||
/* Count down non-recognized exit codes more quickly since they aren't
|
||||
due to known conditions. */
|
||||
default:
|
||||
|
Reference in New Issue
Block a user