Mail Archives: djgpp-workers/1999/04/12/06:10:04
On Sun, 11 Apr 1999, DJ Delorie wrote:
> Note: I tried adding this, but there's a lot of places in libc where
> we blindly call fflush() on streams (rewind is one)
I was afraid of something like that. It seems to become complicated
enough to raise again the question: do we really want this so badly?
I said this earlier, and I say it again: it seems to me that the real
problem is not what `fflush' does or doesn't do for input streams.
The real problem is that many PC-based programs call `fflush' on stdin
because they expect that to solve some other problem. If we solve
that other problem, there will be no need to change anything in
`fflush'.
I'm still asking those who know what is the real problem behind using
`fflush' on stdin, to please speak up.
- Raw text -