bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File position after fclose on a buffered input stream


From: Neal H Walfield
Subject: Re: File position after fclose on a buffered input stream
Date: 05 Feb 2002 20:44:13 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

> > Nobody must make any such assumption and if there is such code it
> > has to be fixed.
> 
> I suggested that unbuffered input be used, would you agree that this
> is the best fix?

Upon further reflection, which code do you think is broken?  The
utility (in the aforementioned example, head) for "leaving" the file
position at then end of the buffered input (which according to SUSv3,
it is not required to worry about) or the shell code in the example?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]