From: Ivan Maidanski Date: Sat, 23 Jun 2012 19:37:30 +0000 (+0400) Subject: Replace exit(1) with EXIT call in catch_exception_raise (code refactoring) X-Git-Tag: gc7_4_0~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaa9d53954cf9bbcdb73bb175d0f60ee592d2025;p=gc Replace exit(1) with EXIT call in catch_exception_raise (code refactoring) * os_dep.c (catch_exception_raise): Replace exit(EXIT_FAILURE) call with EXIT() macro call. --- diff --git a/os_dep.c b/os_dep.c index 4fb24eb5..3dda4c07 100644 --- a/os_dep.c +++ b/os_dep.c @@ -4398,7 +4398,7 @@ catch_exception_raise(mach_port_t exception_port GC_ATTR_UNUSED, /* Can't pass it along to the signal handler because that is */ /* ignoring SIGBUS signals. We also shouldn't call ABORT here as */ /* signals don't always work too well from the exception handler. */ - exit(EXIT_FAILURE); + EXIT(); # else /* BROKEN_EXCEPTION_HANDLING */ /* Pass it along to the next exception handler (which should call SIGBUS/SIGSEGV) */