mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
Fixed bug1058.
This commit is contained in:
parent
d72349bde0
commit
0bbe6eda34
@ -1,3 +1,7 @@
|
||||
2009-05-22 Werner Koch <wk@g10code.com>
|
||||
|
||||
* signal.c (got_fatal_signal): Call tty_cleanup_after_signal.
|
||||
|
||||
2009-05-20 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpg.c (main): Fix --fingerprint/--with-fingerprint command
|
||||
|
@ -88,6 +88,7 @@ got_fatal_signal( int sig )
|
||||
rl_free_line_state ();
|
||||
rl_cleanup_after_signal ();
|
||||
#endif
|
||||
tty_cleanup_after_signal ();
|
||||
|
||||
/* Better don't translate these messages. */
|
||||
write(2, "\n", 1 );
|
||||
|
@ -53,5 +53,6 @@ void tty_disable_completion(void);
|
||||
#define tty_enable_completion(x)
|
||||
#define tty_disable_completion()
|
||||
#endif
|
||||
void tty_cleanup_after_signal (void);
|
||||
|
||||
#endif /*G10_TTYIO_H*/
|
||||
|
@ -1,3 +1,7 @@
|
||||
2009-05-22 Werner Koch <wk@g10code.com>
|
||||
|
||||
* ttyio.c (tty_cleanup_after_signal): New.
|
||||
|
||||
2009-05-05 Werner Koch <wk@g10code.com>
|
||||
|
||||
* dotlock.c: Merged changes from GnuPG-2. Better detection of
|
||||
|
@ -122,6 +122,14 @@ cleanup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
tty_cleanup_after_signal (void)
|
||||
{
|
||||
#ifdef HAVE_TCGETATTR
|
||||
cleanup ();
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
init_ttyfp(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user