aboutsummaryrefslogtreecommitdiff
path: root/libio/Makefile
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/Makefile
parent784421e72b926d027398ee93c6c2f1ddad549c6a (diff)
downloadglibc-4573c6b09884a93fffa3a754678ef881cadebfb3.tar
glibc-4573c6b09884a93fffa3a754678ef881cadebfb3.tar.gz
glibc-4573c6b09884a93fffa3a754678ef881cadebfb3.tar.bz2
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/Makefile')
-rw-r--r--libio/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/Makefile b/libio/Makefile
index e2a7efdc1c..0d28cea59c 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -59,7 +59,7 @@ tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc \
tst-memstream1 tst-memstream2 \
tst-wmemstream1 tst-wmemstream2 \
bug-memstream1 bug-wmemstream1 \
- tst-setvbuf1 tst-popen1 tst-fgetwc bug-wsetpos bug-fclose1
+ tst-setvbuf1 tst-popen1 tst-fgetwc bug-wsetpos bug-fclose1 tst-fseek
ifeq (yes,$(build-shared))
# Add test-fopenloc only if shared library is enabled since it depends on
# shared localedata objects.
@@ -158,6 +158,7 @@ bug-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
tst-swscanf-ENV = LOCPATH=$(common-objpfx)localedata
bug-ftell-ENV = LOCPATH=$(common-objpfx)localedata
tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata
+tst-fseek-ENV = LOCPATH=$(common-objpfx)localedata
generated = tst-fopenloc.mtrace tst-fopenloc.check