summaryrefslogtreecommitdiff
path: root/demos/pexpr.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-08-10 18:42:07 +0200
committertege <tege@gmplib.org>2001-08-10 18:42:07 +0200
commit8eba0234d0062c29cc52f7b72fdad08e2a6e39fe (patch)
treee4e1f9fbab546a5b14e3b6928e111c908a0e92e0 /demos/pexpr.c
parent295f257a58fa08ab9f99bbe809aa0e2679a6628d (diff)
downloadgmp-8eba0234d0062c29cc52f7b72fdad08e2a6e39fe.tar.gz
(setup_error_handler): Catch also SIGABRT.
Diffstat (limited to 'demos/pexpr.c')
-rw-r--r--demos/pexpr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/pexpr.c b/demos/pexpr.c
index fbe4a66e4..85b0d088b 100644
--- a/demos/pexpr.c
+++ b/demos/pexpr.c
@@ -201,6 +201,7 @@ setup_error_handler ()
sigaction (SIGSEGV, &act, 0);
sigaction (SIGBUS, &act, 0);
sigaction (SIGFPE, &act, 0);
+ sigaction (SIGABRT, &act, 0);
}
#endif /* ! _WIN32 && ! __DJGPP__ */