diff options
Diffstat (limited to 'g10')
-rw-r--r-- | g10/ChangeLog | 6 | ||||
-rw-r--r-- | g10/signal.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index c3561d9f5..252467dda 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,9 @@ +2000-12-28 Werner Koch <[email protected]> + + * signal.c (got_fatal_signal): Remove lockfiles here because the + atexit stuff does not work due to the use of raise. Suggested by + Peter Fales. + 2000-12-19 Werner Koch <[email protected]> * status.c, status.h (cpr_get_no_help): New. diff --git a/g10/signal.c b/g10/signal.c index cf8dbd5eb..7b34bd8d1 100644 --- a/g10/signal.c +++ b/g10/signal.c @@ -75,6 +75,9 @@ got_fatal_signal( int sig ) sigaction( sig, &nact, NULL); } #endif + + remove_lockfiles (); + raise( sig ); } |