Separate the macros and the function symbols.
[gnulib.git] / ChangeLog
index e5bbf45..890dda2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,185 @@
+2008-08-14  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/lock.h (glthread_lock_lock, glthread_lock_unlock,
+       glthread_lock_destroy, glthread_rwlock_rdlock, glthread_rwlock_wrlock,
+       glthread_rwlock_unlock, glthread_rwlock_destroy,
+       glthread_recursive_lock_lock, glthread_recursive_lock_unlock,
+       glthread_recursive_lock_destroy): Define as macros always.
+       * lib/glthread/lock.c (glthread_lock_lock_func): Renamed from
+       glthread_lock_lock.
+       (glthread_lock_unlock_func): Renamed from glthread_lock_unlock.
+       (glthread_lock_destroy_func): Renamed from glthread_lock_destroy.
+       (glthread_rwlock_rdlock_func): Renamed from glthread_rwlock_rdlock.
+       (glthread_rwlock_wrlock_func): Renamed from glthread_rwlock_wrlock.
+       (glthread_rwlock_unlock_func): Renamed from glthread_rwlock_unlock.
+       (glthread_rwlock_destroy_func): Renamed from glthread_rwlock_destroy.
+       (glthread_recursive_lock_lock_func): Renamed from
+       glthread_recursive_lock_lock.
+       (glthread_recursive_lock_unlock_func): Renamed from
+       glthread_recursive_lock_unlock.
+       (glthread_recursive_lock_destroy_func): Renamed from
+       glthread_recursive_lock_destroy.
+
+2008-08-14  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/lock.h: Renamed from lib/lock.h.
+       * lib/glthread/lock.c: Renamed from lib/lock.c. Update includes.
+       * lib/glthread/tls.h: Renamed from lib/tls.h.
+       * lib/glthread/tls.c: Renamed from lib/tls.c. Update includes.
+       * lib/fstrcmp.c: Update includes.
+       * lib/strsignal.c: Update includes.
+       * modules/lock (Files, Makefile.am): Update.
+       (Include): Change to "glthread/lock.h".
+       * modules/tls (Files, Makefile.am): Update.
+       (Include): Change to "glthread/tls.h".
+       * tests/test-lock.c: Update includes.
+       * tests/test-tls.c: Update includes.
+       * NEWS: Mention the renamed header files.
+
+2008-08-11  Jim Meyering  <meyering@redhat.com>
+
+       * lib/fts_.h: Fix grammar (insert a missing "is") in a comment.
+
+2008-08-11  Eric Blake  <ebb9@byu.net>
+
+       test-c-stack: avoid C99-ism
+       * tests/test-c-stack.c (main): Fix whitespace, move declaration
+       before statement.
+       Reported by Alain Guibert.
+
+2008-08-10  Jim Meyering  <meyering@redhat.com>
+
+       ensure that return value of uinttostr et al are not ignored
+       * lib/inttostr.h (__GNUC_PREREQ): Define.
+       (__attribute_warn_unused_result__): Define.
+       (offtostr, imaxtostr, umaxtostr, uinttostr): Apply the attribute.
+
+2008-08-07  Paolo Bonzini  <bonzini@gnu.org>
+
+       * lib/lock.c (glthread_recursive_lock_init_multithreaded)
+       [!PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: Fix typo.
+
+2008-08-07  Jim Meyering  <meyering@redhat.com>
+
+       * m4/inet_pton.m4: Fix typo in comment: s/inet_ntop/inet_pton/.
+
+       * modules/mkstemp (License): Relicense under LGPLv2+.
+       * modules/tempname (License): Likewise.
+
+2008-08-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/poll.c (poll): Further micro-optimization.
+
+2008-08-06  Jim Meyering  <meyering@redhat.com>
+
+       inet_pton.c: use locale-independent tolower
+       * lib/inet_pton.c: Include <c-ctype.h> rather than <ctype.h>.
+       (inet_pton6): Use c_tolower rather than tolower.
+       * modules/inet_pton (Depends-on): Add c-ctype.
+
+2008-08-06  Paolo Bonzini  <bonzini@gnu.org>
+
+       * lib/poll.c (poll): Avoid division when timeout is 0, cache
+       _SC_OPEN_MAX, avoid repeated access to errno.  Check for nfd < 0.
+
+2008-08-06  Jim Meyering  <meyering@redhat.com>
+
+       * modules/inet_pton (License): Relicense under LGPLv2+.
+
+2008-08-03  Bruno Haible  <bruno@clisp.org>
+
+       Additional non-aborting API for lock and tls.
+       * lib/lock.h: Include <errno.h>.
+       (glthread_lock_init): New macro/function.
+       (gl_lock_init): Define as wrapper around glthread_lock_init.
+       (glthread_lock_lock): New macro/function.
+       (gl_lock_lock): Define as wrapper around glthread_lock_lock.
+       (glthread_lock_unlock): New macro/function.
+       (gl_lock_unlock): Define as wrapper around glthread_lock_unlock.
+       (glthread_lock_destroy): New macro/function.
+       (gl_lock_destroy): Define as wrapper around glthread_lock_destroy.
+       (glthread_rwlock_init): New macro/function.
+       (gl_rwlock_init): Define as wrapper around glthread_rwlock_init.
+       (glthread_rwlock_rdlock): New macro/function.
+       (gl_rwlock_rdlock): Define as wrapper around glthread_rwlock_rdlock.
+       (glthread_rwlock_wrlock): New macro/function.
+       (gl_rwlock_wrlock): Define as wrapper around glthread_rwlock_wrlock.
+       (glthread_rwlock_unlock): New macro/function.
+       (gl_rwlock_unlock): Define as wrapper around glthread_rwlock_unlock.
+       (glthread_rwlock_destroy): New macro/function.
+       (gl_rwlock_destroy): Define as wrapper around glthread_rwlock_destroy.
+       (glthread_recursive_lock_init): New macro/function.
+       (gl_recursive_lock_init): Define as wrapper around
+       glthread_recursive_lock_init.
+       (glthread_recursive_lock_lock): New macro/function.
+       (gl_recursive_lock_lock): Define as wrapper around
+       glthread_recursive_lock_lock.
+       (glthread_recursive_lock_unlock): New macro/function.
+       (gl_recursive_lock_unlock): Define as wrapper around
+       glthread_recursive_lock_unlock.
+       (glthread_recursive_lock_destroy): New macro/function.
+       (gl_recursive_lock_destroy): Define as wrapper around
+       glthread_recursive_lock_destroy.
+       (glthread_once): New macro/function.
+       (gl_once): Define as wrapper around glthread_once.
+       Update function declarations.
+       * lib/lock.c (glthread_rwlock_init_multithreaded): Renamed from
+       glthread_rwlock_init. Return error code.
+       (glthread_rwlock_rdlock_multithreaded): Renamed from
+       glthread_rwlock_rdlock. Return error code.
+       (glthread_rwlock_wrlock_multithreaded): Renamed from
+       glthread_rwlock_wrlock. Return error code.
+       (glthread_rwlock_unlock_multithreaded): Renamed from
+       glthread_rwlock_unlock. Return error code.
+       (glthread_rwlock_destroy_multithreaded): Renamed from
+       glthread_rwlock_destroy. Return error code.
+       (glthread_recursive_lock_init_multithreaded): Renamed from
+       glthread_recursive_lock_init. Return error code.
+       (glthread_recursive_lock_lock_multithreaded): Renamed from
+       glthread_recursive_lock_lock. Return error code.
+       (glthread_recursive_lock_unlock_multithreaded): Renamed from
+       glthread_recursive_lock_unlock. Return error code.
+       (glthread_recursive_lock_destroy_multithreaded): Renamed from
+       glthread_recursive_lock_destroy. Return error code.
+       (glthread_once_call): Make static.
+       (glthread_once_multithreaded): Renamed from glthread_once.
+       * lib/tls.h: Include <errno.h>.
+       (glthread_tls_key_init): New macro/function.
+       (gl_tls_key_init): Define as wrapper around glthread_tls_key_init.
+       (glthread_tls_set): New macro/function.
+       (gl_tls_set): Define as wrapper around glthread_tls_set.
+       (glthread_tls_key_destroy): New macro/function.
+       (gl_tls_key_destroy): Define as wrapper around glthread_tls_key_destroy.
+       Update function declarations.
+       * lib/tls.c (glthread_tls_get_multithreaded): Renamed from
+       glthread_tls_get.
+       Suggested by Yoann Vandoorselaere <yoann@prelude-ids.org>.
+
+2008-08-04  Eric Blake  <ebb9@byu.net>
+
+       gnumakefile: use space, not TAB, outside of targets
+       * top/GNUmakefile (_dummy): Fix whitespace error in prior edit.
+
+2008-08-02  Jim Meyering  <meyering@redhat.com>
+
+       getdate.y: avoid locale-dependent date parsing failure
+       In Turkish locales, getdate would fail to recognize keywords
+       containing a lowercase "i".  The solution is not to rely on
+       locale-sensitive case-conversion.
+       * lib/getdate.y: Include <c-ctype.h> rather than <ctype.h>.
+       (lookup_word): Use c_toupper in place of toupper.
+       (yylex, get_date): Use c_ prefixed variants of isspace and isalpha, too.
+       Reported by Vefa Bicakci <bicave@superonline.com> in
+       <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14184>.
+       * modules/getdate (Depends-on): Add c-ctype.
+
+2008-08-02  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): When updating or creating a .gitignore
+       file, prepend each added line with a slash, and ignore leading slashes
+       from the existing lines.
+       Reported by Joel E. Denny <jdenny@ces.clemson.edu>.
+
 2008-08-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Portability fix for GNU make 3.79.1.