aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 48cd6b6..a2302f8 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -476,6 +476,9 @@ _bfd_default_error_handler (const char *fmt, ...)
size_t avail = 1000;
char buf[1000];
+ /* PR 4992: Don't interrupt output being sent to stdout. */
+ fflush (stdout);
+
if (_bfd_error_program_name != NULL)
fprintf (stderr, "%s: ", _bfd_error_program_name);
else