diff options
author | Roland McGrath <roland@redhat.com> | 1993-05-06 21:30:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-05-06 21:30:42 +0000 |
commit | 5c82e72caa5e42dea807fe4ba9a6fb9b441e2b39 (patch) | |
tree | 3d0f04a8a589fd3c54aef95af1b4143bd0ed3d49 | |
parent | ca5b7c487d087323197e4af01da9782e6cc9a996 (diff) | |
download | gunmake-5c82e72caa5e42dea807fe4ba9a6fb9b441e2b39.tar.gz |
Formerly commands.c.~18~
-rw-r--r-- | commands.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -318,12 +318,19 @@ execute_file_commands (file) new_job (file); } +/* This is set while we are inside fatal_error_signal, + so things can avoid nonreentrant operations. */ + +int handling_fatal_signal = 0; + /* Handle fatal signals. */ RETSIGTYPE fatal_error_signal (sig) int sig; { + handling_fatal_signal = 1; + signal (sig, SIG_DFL); #ifdef POSIX { |