diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 58c6265c6..eb6aefcbe 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2012-02-08 Corinna Vinschen + + * sigproc.cc (child_info_fork::abort): Call TerminateProcess rather + than ExitProcess. + 2012-02-08 Corinna Vinschen * uinfo.cc (cygheap_user::env_userprofile): Simplify since network diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 5acc584c6..7850ab1b6 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -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; }