various fixes and improvements

This commit is contained in:
eck
1989-06-26 10:37:05 +00:00
parent 11349c78cd
commit 27d7d5ed68
24 changed files with 173 additions and 417 deletions

View File

@@ -13,8 +13,8 @@ vprintf(const char *format, va_list arg)
int retval;
retval = _doprnt(format, arg, stdout);
if (io_testflag(stdout, _IOLBF))
fflush(stdout);
if (retval >= 0 && io_testflag(stdout, _IOLBF))
if (fflush(stdout)) return EOF;
return retval;
}