Tiny refactoring in fts to eliminate a warning.
[platform/upstream/glibc.git] / ChangeLog
index 3a5cddd..962e730 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,95 @@
+2014-10-20  Roland McGrath  <roland@hack.frob.com>
+
+       * io/fts.c (dirent_not_directory): New function.
+       (fts_build): Call it.
+
+2014-10-20  Roland McGrath  <roland@hack.frob.com>
+
+       * nptl/version.c (__nptl_main): Use normal __write rather than
+       INTERNAL_SYSCALL.
+       (banner): Update copyright years.
+
+       * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
+       gettimeofday.
+       * nptl/pthread_rwlock_timedwrlock.c: Likewise.
+       * nptl/pthread_cond_timedwait.c: Likewise.
+       * nptl/pthread_mutex_timedlock.c: Likewise.
+       * nptl/sem_timedwait.c: Likewise.
+
+       * sysdeps/nptl/bits/libc-lock.h
+       [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
+       (__libc_lock_init_recursive): Return void, not 0.
+       * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
+       (__libc_rwlock_init): Likewise.
+       * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
+
+2014-10-20  Torvald Riegel  <triegel@redhat.com>
+
+       [BZ #15215]
+       * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
+       (__pthread_once_slow): ... here.
+       * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
+       * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
+
+2014-10-20  Torvald Riegel  <triegel@redhat.com>
+
+       [BZ #15215]
+       * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
+       __PTHREAD_ONCE_FORK_GEN_INCR): New.
+       * sysdeps/nptl/fork.c (__libc_fork): Use them.
+       * nptl/pthread_once.c (__pthread_once): Likewise.
+       Update comments.
+
+2014-10-20  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #14138]
+       * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
+       name.
+       (writev): Use __libc_writev as strong name.
+       * sysdeps/unix/sysv/linux/readv.c: Remove file.
+       * sysdeps/unix/sysv/linux/writev.c: Likewise.
+
+2014-10-17  Roland McGrath  <roland@hack.frob.com>
+
+       * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
+
+       * sysdeps/i386/nptl/tls.h
+       (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
+       [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
+       New macros.
+       * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
+       (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
+       * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
+       Call SETUP_THREAD_SYSINFO instead of doing an assignment.
+       * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
+       Call CHECK_THREAD_SYSINFO instead of doing an assert.
+
+       * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
+       Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
+       on [__NR_futex].
+       * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
+       broken out of ...
+       (__pthread_mutex_init): ... here.  Call it.
+       * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
+       Conditionalize PI cases on [__NR_futex].
+       * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
+       * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
+       * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
+
+       * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
+       conditional on [SIGSETXID].
+       (sigcancel_handler): Make definition conditional on [SIGCANCEL].
+       (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
+       is defined.  Likewise for SIGSETXID.
+       * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
+       Conditionalize definitions on [SIGSETXID].
+       (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
+       * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
+       unblocking on [SIGCANCEL].
+
+       * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
+       [__NR_set_robust_list].
+
 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * string/strcoll_l.c (get_next_seq): Fix up formatting.