aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/main.c8
2 files changed, 13 insertions, 0 deletions
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 <ettore@helixcode.com>
+
+ * main.c (main): Set the signal handlers for `SIGSEGV' and
+ `SIGBUS' to the default ones.
+
2000-08-13 Jeffrey Stedfast <fejj@helixcode.com>
* 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 <config.h>
+
+#include <signal.h>
+
#include <gnome.h>
#include <bonobo/bonobo-main.h>
#include <bonobo/bonobo-object-directory.h>
#include <glade/glade.h>
#include <liboaf/liboaf.h>
+
#ifdef GTKHTML_HAVE_GCONF
#include <gconf/gconf.h>
#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 ();