* bfd.c (_bfd_default_error_handler): fflush stdout.

This commit is contained in:
Alan Modra 2007-09-15 03:02:01 +00:00
parent 8ed77a05dc
commit 0bc43230d6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-09-15 Nick Clifton <nickc@redhat.com>
* bfd.c (_bfd_default_error_handler): fflush stdout.
2007-09-14 Alan Modra <amodra@bigpond.net.au>
* opncls.c (find_separate_debug_file): Ensure bfd_set_error has

View File

@ -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