mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 12:59:21 +08:00
* sigproc.cc (child_info_fork::abort): Call TerminateProcess rather
than ExitProcess.
This commit is contained in:
parent
ea96df1d4c
commit
bb2b641c13
@ -1,3 +1,8 @@
|
||||
2012-02-08 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* sigproc.cc (child_info_fork::abort): Call TerminateProcess rather
|
||||
than ExitProcess.
|
||||
|
||||
2012-02-08 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* uinfo.cc (cygheap_user::env_userprofile): Simplify since network
|
||||
|
@ -1112,10 +1112,10 @@ child_info_fork::abort (const char *fmt, ...)
|
||||
va_list ap;
|
||||
va_start (ap, fmt);
|
||||
strace_vprintf (SYSTEM, fmt, ap);
|
||||
ExitProcess (EXITCODE_FORK_FAILED);
|
||||
TerminateProcess (GetCurrentProcess (), EXITCODE_FORK_FAILED);
|
||||
}
|
||||
if (retry > 0)
|
||||
ExitProcess (EXITCODE_RETRY);
|
||||
TerminateProcess (GetCurrentProcess (), EXITCODE_RETRY);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user