mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
signal cleanup fix
This commit is contained in:
parent
21ad035cc9
commit
c428284788
@ -1,3 +1,7 @@
|
||||
2009-05-22 Werner Koch <wk@g10code.com>
|
||||
|
||||
* ttyio.c (tty_cleanup_after_signal): New.
|
||||
|
||||
2009-05-19 Werner Koch <wk@g10code.com>
|
||||
|
||||
* simple-pwquery.c (agent_open): Use SUN_LEN
|
||||
|
@ -673,6 +673,14 @@ tty_disable_completion (void)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
tty_cleanup_after_signal (void)
|
||||
{
|
||||
#ifdef HAVE_TCGETATTR
|
||||
cleanup ();
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
tty_cleanup_rl_after_signal (void)
|
||||
{
|
||||
|
@ -47,6 +47,7 @@ int tty_no_terminal (int onoff);
|
||||
|
||||
void tty_enable_completion (rl_completion_func_t *completer);
|
||||
void tty_disable_completion (void);
|
||||
void tty_cleanup_after_signal (void);
|
||||
void tty_cleanup_rl_after_signal (void);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user