about summary refs log tree commit diff
path: root/libio/putc.c
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 /libio/putc.c
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 'libio/putc.c')
0 files changed, 0 insertions, 0 deletions