This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]