ERR: SIGSEGV == SIGBUS on BeOS.
This commit is contained in:
parent
94d8d25fd3
commit
aeea4895a5
|
@ -1476,7 +1476,9 @@ static void kwsysProcessSetExitException(kwsysProcess* cp, int sig)
|
||||||
case SIGSEGV: KWSYSPE_CASE(Fault, "Segmentation fault"); break;
|
case SIGSEGV: KWSYSPE_CASE(Fault, "Segmentation fault"); break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIGBUS
|
#ifdef SIGBUS
|
||||||
|
# if !defined(SIGSEGV) || SIGBUS != SIGSEGV
|
||||||
case SIGBUS: KWSYSPE_CASE(Fault, "Bus error"); break;
|
case SIGBUS: KWSYSPE_CASE(Fault, "Bus error"); break;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef SIGFPE
|
#ifdef SIGFPE
|
||||||
case SIGFPE: KWSYSPE_CASE(Numerical, "Floating-point exception"); break;
|
case SIGFPE: KWSYSPE_CASE(Numerical, "Floating-point exception"); break;
|
||||||
|
|
Loading…
Reference in New Issue