diff options
Diffstat (limited to 'g10/signal.c')
-rw-r--r-- | g10/signal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/signal.c b/g10/signal.c index 512f56368..e768e0cf3 100644 --- a/g10/signal.c +++ b/g10/signal.c @@ -42,7 +42,7 @@ static void init_one_signal (int sig, RETSIGTYPE (*handler)(int), int check_ign ) { #ifndef HAVE_DOSISH_SYSTEM - #if HAVE_SIGACTION + #ifdef HAVE_SIGACTION struct sigaction oact, nact; if (check_ign) { @@ -99,6 +99,9 @@ got_fatal_signal( int sig ) /* reset action to default action and raise signal again */ init_one_signal (sig, SIG_DFL, 0); remove_lockfiles (); +#ifdef __riscos__ + close_fds (); +#endif /* __riscos__ */ raise( sig ); } |