ENH: Treating SIGBUS as a fault by default.
This commit is contained in:
parent
dbed2f9868
commit
ef603d12f9
|
@ -672,6 +672,9 @@ int kwsysProcess_WaitForExit(kwsysProcess* cp, double* userTimeout)
|
||||||
#ifdef SIGSEGV
|
#ifdef SIGSEGV
|
||||||
case SIGSEGV: cp->ExitException = kwsysProcess_Exception_Fault; break;
|
case SIGSEGV: cp->ExitException = kwsysProcess_Exception_Fault; break;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SIGBUS
|
||||||
|
case SIGBUS: cp->ExitException = kwsysProcess_Exception_Fault; break;
|
||||||
|
#endif
|
||||||
#ifdef SIGFPE
|
#ifdef SIGFPE
|
||||||
case SIGFPE: cp->ExitException = kwsysProcess_Exception_Numerical; break;
|
case SIGFPE: cp->ExitException = kwsysProcess_Exception_Numerical; break;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue