summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1996-05-09 20:07:14 +0000
committerRoland McGrath <roland@redhat.com>1996-05-09 20:07:14 +0000
commit5e728dfa57ffa6914fea8b9cdf39afd6591d5269 (patch)
tree3445991dfc52991fdcc1f735da277851f5858958
parent085eac4c7405e1b681914ad3527208f924bc596f (diff)
downloadgunmake-5e728dfa57ffa6914fea8b9cdf39afd6591d5269.tar.gz
Thu May 9 13:54:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* commands.c (fatal_error_signal) [SIGQUIT]: Make SIGQUIT check conditional.
-rw-r--r--commands.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 6993e62..a3c3b41 100644
--- a/commands.c
+++ b/commands.c
@@ -1,5 +1,5 @@
/* Command processing for GNU Make.
-Copyright (C) 1988, 89, 91, 92, 93, 94, 95 Free Software Foundation, Inc.
+Copyright (C) 1988, 89, 91, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -434,10 +434,12 @@ fatal_error_signal (sig)
remove_intermediates (1);
+#ifdef SIGQUIT
if (sig == SIGQUIT)
/* We don't want to send ourselves SIGQUIT, because it will
cause a core dump. Just exit instead. */
exit (EXIT_FAILURE);
+#endif
/* Signal the same code; this time it will really be fatal. The signal
will be unblocked when we return and arrive then to kill us. */