mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-25 05:29:47 +00:00
Formerly commands.c.~18~
This commit is contained in:
parent
ca5b7c487d
commit
5c82e72caa
1 changed files with 7 additions and 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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue