mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Merge binutils 2.15 einfo() buffering change to binutils-2.17.
OK deraadt@ miod@
This commit is contained in:
parent
6e7ed74a74
commit
87aacc8692
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user