From: Ben Pfaff Date: Mon, 11 Oct 2010 04:13:21 +0000 (-0700) Subject: pspp: Don't attempt fancy clean-up upon receiving a fatal signal. X-Git-Tag: v0.7.6~55 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a69031154612651d1fd7d9267b0bc47cc48dde73;p=pspp-builds.git pspp: Don't attempt fancy clean-up upon receiving a fatal signal. Otherwise PSPP often assert-fails on Control+C. In the long run it is probably friendlier to return to the command prompt upon Control+C, but simply deleting temporary files and exiting cleanly is preferable to an assert-fail. See bug #20626 for more information. --- diff --git a/src/ui/terminal/main.c b/src/ui/terminal/main.c index 1be99732..478c2fd5 100644 --- a/src/ui/terminal/main.c +++ b/src/ui/terminal/main.c @@ -88,7 +88,6 @@ main (int argc, char **argv) signal (SIGABRT, bug_handler); signal (SIGSEGV, bug_handler); signal (SIGFPE, bug_handler); - at_fatal_signal (clean_up); i18n_init (); fpu_init ();