diff options
author | Roland McGrath <roland@redhat.com> | 1994-07-25 22:47:14 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-07-25 22:47:14 +0000 |
commit | cdd25d1fb313057b4209dcf1a957987faa16e0d4 (patch) | |
tree | 20b0e6b90dff2c2adaa50e58df0c1a502e2b8743 /commands.c | |
parent | 9a3666d550583ccc8320b784cb03e5197a803406 (diff) | |
download | gunmake-cdd25d1fb313057b4209dcf1a957987faa16e0d4.tar.gz |
(fatal_error_signal) [__MSDOS__]: Just remove intermediates and exit.
Part of MSDOS/GO32 port from DJ Delorie <dj@ctron.com>.
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -329,6 +329,10 @@ RETSIGTYPE fatal_error_signal (sig) int sig; { +#ifdef __MSDOS__ + remove_intermediates (1); + exit (1); +#else /* Not MSDOS. */ handling_fatal_signal = 1; /* Set the handling for this signal to the default. @@ -385,6 +389,7 @@ fatal_error_signal (sig) will be unblocked when we return and arrive then to kill us. */ if (kill (getpid (), sig) < 0) pfatal_with_name ("kill"); +#endif /* MSDOS. */ } /* Delete FILE unless it's precious or not actually a file (phony), |