]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix nasty bracketing/precedence bug. Every time something read (and
authorpeter <peter@FreeBSD.org>
Tue, 13 Aug 1996 17:49:45 +0000 (17:49 +0000)
committerpeter <peter@FreeBSD.org>
Tue, 13 Aug 1996 17:49:45 +0000 (17:49 +0000)
commit8542445a70b5accf790f1ebb2d915ac459ceadb6
treebe28ef4b78cd8e42bb1260b077c110d69b4f5bbe
parent3ba537ecfe2ab1290c1a9710fd0766979614ce7a
Fix nasty bracketing/precedence bug.  Every time something read (and
refilled) a file that was either line- or un-buffered, all files were
flushed.  According to the code comment, the flush (according to ANSI)
is supposed to happen on write + line buffered output files, not _all_
files.

Obtained from: OpenBSD / Theo de Raadt, possibly from proven@cygnus.com
lib/libc/stdio/refill.c