diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-08-14 08:33:01 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-08-14 08:33:01 +0800 |
commit | e2027224b4012431e74ba7c7652862a7a6097e58 (patch) | |
tree | 10afd75e5622c81c5a6a0da871d619b3d0f40f25 | |
parent | 3dc7eb6abbe8e11262cbd49ca782888169692028 (diff) | |
download | gsoc2013-evolution-e2027224b4012431e74ba7c7652862a7a6097e58.tar.gz gsoc2013-evolution-e2027224b4012431e74ba7c7652862a7a6097e58.tar.zst gsoc2013-evolution-e2027224b4012431e74ba7c7652862a7a6097e58.zip |
Use the default handlers for SIGBUS and SIGSEGV as gnome_segv_handler
doesn't enjoy threads much.
svn path=/trunk/; revision=4826
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/main.c | 8 |
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 (); |