From: Eric W. <war...@us...> - 2001-11-19 08:23:35
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv24850 Modified Files: aim.c core.c Log Message: don't ask Index: aim.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/aim.c,v retrieving revision 1.171 retrieving revision 1.172 diff -u -d -r1.171 -r1.172 --- aim.c 2001/10/23 21:39:44 1.171 +++ aim.c 2001/11/19 08:23:32 1.172 @@ -385,6 +385,7 @@ break; case SIGSEGV: core_quit(); +#ifndef DEBUG fprintf(stderr, "Gaim has segfaulted and attempted to dump a core file.\n" "This is a bug in the software and has happened through\n" "no fault of your own.\n\n" @@ -401,6 +402,7 @@ WEBSITE "gdb.php. If you need further\n" "assistance, please IM either EWarmenhoven or RobFlynn and\n" "they can help you.\n"); +#endif abort(); break; default: @@ -561,9 +563,7 @@ #if HAVE_SIGNAL_H /* Let's not violate any PLA's!!!! */ -#ifndef DEBUG signal(SIGSEGV, sighandler); -#endif signal(SIGHUP, sighandler); signal(SIGINT, sighandler); signal(SIGTERM, sighandler); Index: core.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/core.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- core.c 2001/10/24 08:48:05 1.17 +++ core.c 2001/11/19 08:23:32 1.18 @@ -450,4 +450,5 @@ close(UI_fd); sprintf(buf, "%s/gaim_%s.%d", g_get_tmp_dir(), g_get_user_name(), getpid()); unlink(buf); + debug_printf("Removed core\n"); } |