about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-09-28 18:20:40 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-09-28 18:21:39 +0530
commit4573c6b09884a93fffa3a754678ef881cadebfb3 (patch)
tree89734fdb5480204f4bf4ad5c0977c39a5265ec2f /ChangeLog
parent784421e72b926d027398ee93c6c2f1ddad549c6a (diff)
downloadglibc-4573c6b09884a93fffa3a754678ef881cadebfb3.tar.gz
glibc-4573c6b09884a93fffa3a754678ef881cadebfb3.tar.xz
glibc-4573c6b09884a93fffa3a754678ef881cadebfb3.zip
Adjust wide data buffer pointers during fseek and ftell
[BZ #14543]
Set the internal buffer state correctly whenever the external buffer
state is modified by fseek by either computing the current
_IO_read_ptr/end for the internal buffer based on the new _IO_read_ptr
in the external buffer or converting the content read into the
external buffer, up to the extent of the requested fseek offset.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3004989b65..255e0751cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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
+	combination works in wide mode.
+	* libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
+	state when the external buffer state changes.
+
 2012-09-27  David S. Miller  <davem@davemloft.net>
 
 	[BZ #14376]