diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-09-28 18:37:23 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-09-28 18:38:14 +0530 |
commit | adb26faefe47b7d34c941cbfc193ca7a5fde8e3f (patch) | |
tree | 799a1e10dae3c9aac2b9c2c79e0b8adaaa1eae90 /ChangeLog | |
parent | 4573c6b09884a93fffa3a754678ef881cadebfb3 (diff) | |
download | glibc-adb26faefe47b7d34c941cbfc193ca7a5fde8e3f.tar glibc-adb26faefe47b7d34c941cbfc193ca7a5fde8e3f.tar.gz glibc-adb26faefe47b7d34c941cbfc193ca7a5fde8e3f.tar.bz2 glibc-adb26faefe47b7d34c941cbfc193ca7a5fde8e3f.zip |
Don't flush write buffer for ftell
[BZ #5298]
Use write pointer state along with the file offset and/or the read
pointers to get the current file position.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com> + [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. + +2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com> + [BZ #14543] * libio/Makefile (tests): New test case tst-fseek. * libio/tst-fseek.c: New test case to verify that fseek/ftell |