diff options
Diffstat (limited to 'gdb/ui-file.c')
-rw-r--r-- | gdb/ui-file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ui-file.c b/gdb/ui-file.c index 20b072e..6bb2342 100644 --- a/gdb/ui-file.c +++ b/gdb/ui-file.c @@ -580,7 +580,8 @@ stdio_file_write_async_safe (struct ui_file *file, return; } - write (stdio->fd, buf, length_buf); + if (write (stdio->fd, buf, length_buf)) + ; } static void |