From e2027224b4012431e74ba7c7652862a7a6097e58 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 14 Aug 2000 00:33:01 +0000 Subject: Use the default handlers for SIGBUS and SIGSEGV as gnome_segv_handler doesn't enjoy threads much. svn path=/trunk/; revision=4826 --- mail/ChangeLog | 5 +++++ mail/main.c | 8 ++++++++ 2 files changed, 13 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 91ce013b46..1ada639b2a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-08-13 Ettore Perazzoli + + * main.c (main): Set the signal handlers for `SIGSEGV' and + `SIGBUS' to the default ones. + 2000-08-13 Jeffrey Stedfast * mail-config.c (mail_config_write): Set config->configured to diff --git a/mail/main.c b/mail/main.c index b1a8766899..9b51756d33 100644 --- a/mail/main.c +++ b/mail/main.c @@ -8,14 +8,19 @@ */ #include + +#include + #include #include #include #include #include + #ifdef GTKHTML_HAVE_GCONF #include #endif + #include "e-util/e-gui-utils.h" #include "e-util/e-cursors.h" @@ -55,6 +60,9 @@ main (int argc, char *argv []) component_factory_init (); + signal (SIGSEGV, SIG_DFL); + signal (SIGBUS, SIG_DFL); + GDK_THREADS_ENTER (); bonobo_main (); GDK_THREADS_LEAVE (); -- cgit