diff options
author | Brad King <brad.king@kitware.com> | 2003-08-13 18:21:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-08-13 18:21:39 (GMT) |
commit | ef603d12f9429db1dec870cb37073a83037e33e6 (patch) | |
tree | 278aa7fa7db7bbcf2eba964734fc1c9eb8610fc1 /Source/kwsys/ProcessUNIX.c | |
parent | dbed2f986881ed5a6dc9b0a4d6e97903696cbcfd (diff) | |
download | CMake-ef603d12f9429db1dec870cb37073a83037e33e6.zip CMake-ef603d12f9429db1dec870cb37073a83037e33e6.tar.gz CMake-ef603d12f9429db1dec870cb37073a83037e33e6.tar.bz2 |
ENH: Treating SIGBUS as a fault by default.
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index b48d055..d6cf82a 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 |