From aeea4895a542c406fac45e8ceb08543416520fce Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 12 Mar 2004 14:43:32 -0500 Subject: ERR: SIGSEGV == SIGBUS on BeOS. --- Source/kwsys/ProcessUNIX.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 2a85696..b5c1e19 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -1476,7 +1476,9 @@ static void kwsysProcessSetExitException(kwsysProcess* cp, int sig) case SIGSEGV: KWSYSPE_CASE(Fault, "Segmentation fault"); break; #endif #ifdef SIGBUS +# if !defined(SIGSEGV) || SIGBUS != SIGSEGV case SIGBUS: KWSYSPE_CASE(Fault, "Bus error"); break; +# endif #endif #ifdef SIGFPE case SIGFPE: KWSYSPE_CASE(Numerical, "Floating-point exception"); break; -- cgit v0.12