mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02: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>
|
2009-05-20 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* gpg.c (main): Fix --fingerprint/--with-fingerprint command
|
* gpg.c (main): Fix --fingerprint/--with-fingerprint command
|
||||||
|
@ -88,6 +88,7 @@ got_fatal_signal( int sig )
|
|||||||
rl_free_line_state ();
|
rl_free_line_state ();
|
||||||
rl_cleanup_after_signal ();
|
rl_cleanup_after_signal ();
|
||||||
#endif
|
#endif
|
||||||
|
tty_cleanup_after_signal ();
|
||||||
|
|
||||||
/* Better don't translate these messages. */
|
/* Better don't translate these messages. */
|
||||||
write(2, "\n", 1 );
|
write(2, "\n", 1 );
|
||||||
|
@ -53,5 +53,6 @@ void tty_disable_completion(void);
|
|||||||
#define tty_enable_completion(x)
|
#define tty_enable_completion(x)
|
||||||
#define tty_disable_completion()
|
#define tty_disable_completion()
|
||||||
#endif
|
#endif
|
||||||
|
void tty_cleanup_after_signal (void);
|
||||||
|
|
||||||
#endif /*G10_TTYIO_H*/
|
#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>
|
2009-05-05 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* dotlock.c: Merged changes from GnuPG-2. Better detection of
|
* dotlock.c: Merged changes from GnuPG-2. Better detection of
|
||||||
|
@ -122,6 +122,14 @@ cleanup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
|
tty_cleanup_after_signal (void)
|
||||||
|
{
|
||||||
|
#ifdef HAVE_TCGETATTR
|
||||||
|
cleanup ();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
init_ttyfp(void)
|
init_ttyfp(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user