diff options
author | Werner Koch <[email protected]> | 2009-05-26 09:29:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-05-26 09:29:33 +0000 |
commit | c4282847885627a2ebd8cca5e4717eb39eb83bf0 (patch) | |
tree | 2d2f82e651e97e4cb8e5295d76716bb30b453837 /common/ttyio.c | |
parent | Fix a signal cleanup problem. (diff) | |
download | gnupg-c4282847885627a2ebd8cca5e4717eb39eb83bf0.tar.gz gnupg-c4282847885627a2ebd8cca5e4717eb39eb83bf0.zip |
signal cleanup fix
Diffstat (limited to '')
-rw-r--r-- | common/ttyio.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/ttyio.c b/common/ttyio.c index 84b81820c..9882c8e30 100644 --- a/common/ttyio.c +++ b/common/ttyio.c @@ -674,6 +674,14 @@ tty_disable_completion (void) void +tty_cleanup_after_signal (void) +{ +#ifdef HAVE_TCGETATTR + cleanup (); +#endif +} + +void tty_cleanup_rl_after_signal (void) { if (my_rl_cleanup_after_signal) |