[PATCH][BZ #5298] Don't flush write buffer for ftell
Jeff Law
law@redhat.com
Tue Sep 25 18:11:00 GMT 2012
On 09/24/2012 10:41 PM, Siddhesh Poyarekar wrote:
>
>
> I have modified this section accordingly and also added a comment to
> explain why _IO_read_end is there. Updated patch attached.
>
> Regards,
> Siddhesh
>
> ChangeLog:
>
> [BZ #5298]
> * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
> for ftell. Compute offsets from write pointers instead.
> * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
This looks good to me.
jeff
More information about the Libc-alpha
mailing list