]> sourceware.org Git - glibc.git/blobdiff - ChangeLog
Fix offset caching for streams and use it for ftell (BZ #16680)
[glibc.git] / ChangeLog
index 1c6b384be29093ac5086cdedb14e8e01e14f06ac..eea2ef6dd768edfa12597c05c113393a5a5ec9b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       [BZ #16680]
+       * libio/fileops.c (_IO_file_open): Seek to end of file but
+       don't cache the offset.
+       (get_file_offset): Remove function.
+       (do_ftell): Use cached offset when available.
+       * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
+       don't cache the offset.
+       * libio/tst-ftell-active-handler.c (do_rewind_test): New test
+       case.
+       (do_one_test): Call it.
+       (do_ftell_test): Fix up expected old offset for a+ mode.
+       * libio/wfileops.c (do_ftell_wide): Used cached offset when
+       available.
+
+       * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
+       up test status with function return status.
+       (do_write_test): Likewise.
+       (do_append_test): Likewise.
+
+       * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
+       && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
+       Remove.
+
 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
 
        * math/gen-libm-test.pl (parse_args): Handle results specified for
This page took 0.095871 seconds and 5 git commands to generate.