+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