From ef603d12f9429db1dec870cb37073a83037e33e6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 13 Aug 2003 14:21:39 -0400 Subject: [PATCH] ENH: Treating SIGBUS as a fault by default. --- Source/kwsys/ProcessUNIX.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index b48d05548..d6cf82a65 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -672,6 +672,9 @@ int kwsysProcess_WaitForExit(kwsysProcess* cp, double* userTimeout) #ifdef SIGSEGV case SIGSEGV: cp->ExitException = kwsysProcess_Exception_Fault; break; #endif +#ifdef SIGBUS + case SIGBUS: cp->ExitException = kwsysProcess_Exception_Fault; break; +#endif #ifdef SIGFPE case SIGFPE: cp->ExitException = kwsysProcess_Exception_Numerical; break; #endif