ENH: Treating SIGBUS as a fault by default.

This commit is contained in:
Brad King 2003-08-13 14:21:39 -04:00
parent dbed2f9868
commit ef603d12f9
1 changed files with 3 additions and 0 deletions

View File

@ -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