if (signal_number == SIGABRT)
abort();
#endif
+#if defined(SIGBUS)
+ if (signal_number == SIGBUS)
+ abort();
+#endif
#if defined(SIGFPE)
if (signal_number == SIGFPE)
abort();
if (signal_number == SIGINT)
_exit(signal_number);
#endif
-#if defined(SIGTERM)
- if (signal_number == SIGTERM)
+#if defined(SIGBUS)
+ if (signal_number == SIGBUS)
_exit(signal_number);
#endif
#if defined(MAGICKCORE_HAVE_RAISE)
if (signal_handlers[SIGABRT] == (SignalHandler *) NULL)
signal_handlers[SIGABRT]=RegisterMagickSignalHandler(SIGABRT);
#endif
+#if defined(SIGBUS)
+ if (signal_handlers[SIGBUS] == (SignalHandler *) NULL)
+ signal_handlers[SIGBUS]=RegisterMagickSignalHandler(SIGBUS);
+#endif
#if defined(SIGSEGV)
if (signal_handlers[SIGSEGV] == (SignalHandler *) NULL)
signal_handlers[SIGSEGV]=RegisterMagickSignalHandler(SIGSEGV);