summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessUNIX.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-13 18:21:39 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-13 18:21:39 (GMT)
commitef603d12f9429db1dec870cb37073a83037e33e6 (patch)
tree278aa7fa7db7bbcf2eba964734fc1c9eb8610fc1 /Source/kwsys/ProcessUNIX.c
parentdbed2f986881ed5a6dc9b0a4d6e97903696cbcfd (diff)
downloadCMake-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.c3
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