Stop winelib programs on fault instead of endless faultlooping.

This commit is contained in:
Marcus Meissner 1999-05-08 10:44:43 +00:00 committed by Alexandre Julliard
parent b199b1951e
commit 013d08805a
1 changed files with 4 additions and 0 deletions

View File

@ -282,6 +282,10 @@ static HANDLER_DEF(SIGNAL_fault)
if (fnWINE_Debugger)
fnWINE_Debugger( signal, HANDLER_CONTEXT );
else {
MSG("stopping pid %d due to unhandled %s.\n",getpid(),fault);
kill(getpid(),SIGSTOP);
}
}