mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* status.c (do_get_from_fd): Flush stdout if status isn't flushing it for
us. This guarantees that any menus that were displayed before the prompt don't get stuck in a buffer. Noted by Peter Palfrader. This is Debian bug #254072.
This commit is contained in:
parent
102408f458
commit
4340b6765e
@ -1,3 +1,10 @@
|
||||
2004-07-20 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* status.c (do_get_from_fd): Flush stdout if status isn't flushing
|
||||
it for us. This guarantees that any menus that were displayed
|
||||
before the prompt don't get stuck in a buffer. Noted by Peter
|
||||
Palfrader. This is Debian bug #254072.
|
||||
|
||||
2004-07-20 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* plaintext.c (handle_plaintext): Make number buffer larger. With
|
||||
|
@ -538,6 +538,9 @@ do_get_from_fd( const char *keyword, int hidden, int bool )
|
||||
int i, len;
|
||||
char *string;
|
||||
|
||||
if(statusfp!=stdout)
|
||||
fflush(stdout);
|
||||
|
||||
write_status_text( bool? STATUS_GET_BOOL :
|
||||
hidden? STATUS_GET_HIDDEN : STATUS_GET_LINE, keyword );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user