diff options
author | alfredoport <doyenatccny@gmail.com> | 2008-03-26 15:23:08 +0000 |
---|---|---|
committer | alfredoport <doyenatccny@gmail.com> | 2008-03-26 15:23:08 +0000 |
commit | 022f30ff0da2d6895ee5175a42af9ff824a061a7 (patch) | |
tree | 4d48b886bcaea51049e21c675e2c740bc4cdcda2 /src/sman | |
parent | ed37d1f407fdde15915216420cc6e846c2e4760b (diff) | |
download | open-axiom-022f30ff0da2d6895ee5175a42af9ff824a061a7.tar.gz |
Use SIGABRT instead of SIGIOT if available (Cygwin)
Diffstat (limited to 'src/sman')
-rw-r--r-- | src/sman/sman.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sman/sman.c b/src/sman/sman.c index 41beebba..d4136afd 100644 --- a/src/sman/sman.c +++ b/src/sman/sman.c @@ -256,7 +256,15 @@ sman_catch_signals(void) bsdSignal(SIGHUP, death_handler,RestartSystemCalls); bsdSignal(SIGILL, death_handler,RestartSystemCalls); bsdSignal(SIGTRAP, death_handler,RestartSystemCalls); + +#ifdef SIGABRT + bsdSignal(SIGABRT, death_handler,RestartSystemCalls); +#else + #ifdef SIGIOT bsdSignal(SIGIOT, death_handler,RestartSystemCalls); + #endif +#endif + bsdSignal(SIGBUS, death_handler,RestartSystemCalls); bsdSignal(SIGSEGV, death_handler,RestartSystemCalls); |