mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
Fix PR gdb/478
* tuiIO.c (tui_initialize_io): Use setvbuf since this is portable.
This commit is contained in:
parent
a0087177c3
commit
0f59c96ffc
@ -1,3 +1,8 @@
|
||||
2002-10-25 Stephane Carrez <stcarrez@nerim.fr>
|
||||
|
||||
Fix PR gdb/478
|
||||
* tuiIO.c (tui_initialize_io): Use setvbuf since this is portable.
|
||||
|
||||
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
* tui-hooks.c (selected_frame_level_changed_hook): Use the one
|
||||
|
@ -600,7 +600,7 @@ tui_initialize_io ()
|
||||
fprintf_unfiltered (gdb_stderr, "Cannot redirect readline output");
|
||||
exit (1);
|
||||
}
|
||||
setlinebuf (tui_rl_outstream);
|
||||
setvbuf (tui_rl_outstream, (char*) NULL, _IOLBF, 0);
|
||||
|
||||
#ifdef O_NONBLOCK
|
||||
(void) fcntl (tui_readline_pipe[0], F_SETFL, O_NONBLOCK);
|
||||
|
Loading…
Reference in New Issue
Block a user