reduce SignalHandler dependency on StepMania.cpp
This commit is contained in:
@@ -446,12 +446,6 @@ static void do_backtrace( const void **buf, size_t size )
|
||||
|
||||
void CrashSignalHandler( int signal )
|
||||
{
|
||||
#if !defined(BACKTRACE_METHOD_POWERPC_DARWIN)
|
||||
/* Don't dump a debug file if the user just hit ^C. */
|
||||
if( signal == SIGINT || signal == SIGTERM || signal == SIGHUP )
|
||||
return;
|
||||
#endif
|
||||
|
||||
if( g_pCrashHandlerArgv0 )
|
||||
{
|
||||
safe_print(fileno(stderr), "Crash handler failed: CrashHandlerHandleArgs was not called\n", NULL);
|
||||
|
||||
Reference in New Issue
Block a user