diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/ld/ldmisc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/ld/ldmisc.c b/gnu/usr.bin/binutils-2.17/ld/ldmisc.c index 8af043aa2b2..12c0d0f4edc 100644 --- a/gnu/usr.bin/binutils-2.17/ld/ldmisc.c +++ b/gnu/usr.bin/binutils-2.17/ld/ldmisc.c @@ -495,10 +495,14 @@ void einfo (const char *fmt, ...) { va_list arg; + char buf[BUFSIZ]; + setvbuf(stderr, buf, _IOFBF, sizeof(buf)); va_start (arg, fmt); vfinfo (stderr, fmt, arg, TRUE); va_end (arg); + fflush(stderr); + setvbuf(stderr, NULL, _IONBF, 0); } void |