projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pspp: Avoid printing multiple messages for a single signal caused by a bug.
[pspp]
/
src
/
ui
/
terminal
/
main.c
diff --git
a/src/ui/terminal/main.c
b/src/ui/terminal/main.c
index 7d2c97f9f7a343454be3cf2343c101a781433a78..fa99fe1a4ee46ddd73417b995921f7f27ec985aa 100644
(file)
--- a/
src/ui/terminal/main.c
+++ b/
src/ui/terminal/main.c
@@
-166,12
+166,16
@@
bug_handler(int sig)
{
case SIGABRT:
request_bug_report("Assertion Failure/Abort");
{
case SIGABRT:
request_bug_report("Assertion Failure/Abort");
+ break;
case SIGFPE:
request_bug_report("Floating Point Exception");
case SIGFPE:
request_bug_report("Floating Point Exception");
+ break;
case SIGSEGV:
request_bug_report("Segmentation Violation");
case SIGSEGV:
request_bug_report("Segmentation Violation");
+ break;
default:
request_bug_report("Unknown");
default:
request_bug_report("Unknown");
+ break;
}
/* Re-raise the signal so that we terminate with the correct status. */
}
/* Re-raise the signal so that we terminate with the correct status. */