diff options
author | Werner Koch <[email protected]> | 2006-09-21 13:30:45 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-09-21 13:30:45 +0000 |
commit | 43ab905823df0ae44607cda41da9c105e009c1e5 (patch) | |
tree | 155ab1ee960c61dbaa5c4db6747358fa0117bf14 /g10/signal.c | |
parent | Cleanups. (diff) | |
download | gnupg-43ab905823df0ae44607cda41da9c105e009c1e5.tar.gz gnupg-43ab905823df0ae44607cda41da9c105e009c1e5.zip |
Various updates
Diffstat (limited to 'g10/signal.c')
-rw-r--r-- | g10/signal.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/g10/signal.c b/g10/signal.c index aaeb89841..6055b1c2c 100644 --- a/g10/signal.c +++ b/g10/signal.c @@ -28,10 +28,6 @@ #include <string.h> #include <errno.h> #include <assert.h> -#ifdef HAVE_LIBREADLINE -#include <readline/readline.h> -#include <readline/history.h> -#endif #include "gpg.h" #include "options.h" @@ -86,10 +82,7 @@ got_fatal_signal( int sig ) gcry_control (GCRYCTL_TERM_SECMEM ); -#ifdef HAVE_LIBREADLINE - rl_free_line_state (); - rl_cleanup_after_signal (); -#endif + tty_cleanup_rl_after_signal (); /* Better don't translate these messages. */ write(2, "\n", 1 ); |