[PATCH v2] Fix offset caching for streams and use it for ftell (BZ #16680)

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Wed Mar 12 18:24:00 GMT 2014


On 12 March 2014 23:48, Rich Felker <dalias@aerifal.cx> wrote:
> At least one line in yout table is wrong: ftell can never change the
> offset when the handle is inactive. You have it changing the offset in
> this case for append-mode files. I don't see why you want to do this.

Thanks for pointing that out.  I was supposed to add a note there
clarifying that it's fopen/fdopen that does the offset change there
and I forgot to do that.  I've updated the document now to hopefully
be a bit clearer.

Siddhesh
-- 
http://siddhesh.in



More information about the Libc-alpha mailing list