+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ open, fopen: Update regarding AIX.
+ * m4/open.m4 (gl_FUNC_OPEN): Adjust cross-compiling guess for AIX.
+ * m4/fopen.m4 (gl_FUNC_FOPEN): Likewise.
+ * doc/posix-functions/open.texi: Mention the trailing-slash bug on AIX.
+ * doc/posix-functions/fopen.texi: Likewise.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ chown: Update doc regarding AIX.
+ * doc/posix-functions/chown.texi: Mention bug on AIX 7.1.
+ * m4/chown.m4 (gl_FUNC_CHOWN): Update comment.
+ Reported by Rainer Tammer.
+
+2010-07-30 Eric Blake <eblake@redhat.com>
+
+ strtod: fix bug in replacement function on AIX
+ * lib/strtod.c (strtod): Special case broken "0x" parse in
+ underlying strtod.
+ * tests/test-strtod.c (main): Document AIX 7.1 bugs.
+ * doc/posix-functions/strtod.texi (strtod): Likewise.
+ Reported by Rainer Tammer.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ mbrlen: Fix cross-compilation guess for AIX.
+ * m4/mbrlen.m4 (gl_MBRLEN_INCOMPLETE_STATE): Fix cross-compilation
+ guess. Leftover from 2008-12-22.
+
+2010-07-30 Bruno Haible <bruno@clisp.org>
+
+ mbrtowc: Fix cross-compilation guess for AIX.
+ * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE): Fix cross-compilation
+ guess. Leftover from 2008-12-21.
+
+2010-07-29 Peter O'Gorman <pogma@thewrittenword.com> (tiny change)
+
+ init.sh: work around trap limitation of some shells
+ * tests/init.sh (setup_): Move exit trap outside of shell function.
+
+2010-07-29 Eric Blake <eblake@redhat.com>
+
+ strtod: aid debugging
+ * m4/strtod.m4(gl_FUNC_STRTOD): Use distinct exit status to aid
+ understanding why strtod is rejected.
+
+2010-07-28 Bruno Haible <bruno@clisp.org>
+
+ unistr/u*-chr, unistr/u*-strchr: Fix link errors and warnings.
+ * lib/unistr/u8-chr.c: Include <string.h>.
+ * tests/unistr/test-u8-chr.c: Likewise.
+ * tests/unistr/test-u16-chr.c: Likewise.
+ * tests/unistr/test-u32-chr.c: Likewise.
+ * tests/unistr/test-u8-strchr.c: Likewise.
+ * tests/unistr/test-u16-strchr.c: Likewise.
+ * tests/unistr/test-u32-strchr.c: Likewise.
+ * modules/unistr/u8-chr-tests (Depends-on): Add unistr/u32-set.
+ * modules/unistr/u16-chr-tests (Depends-on): Likewise.
+ * modules/unistr/u8-strchr-tests (Depends-on): Likewise.
+ * modules/unistr/u16-strchr-tests (Depends-on): Likewise.
+
+2010-07-28 Bruno Haible <bruno@clisp.org>
+
+ Use spaces for indentation, not tabs.
+ * lib/**/*.[hcy] except lib/reg*.[hc]: Untabify.
+
+2010-07-27 Bruno Haible <bruno@clisp.org>
+
+ mbspcasecmp: Fix function specification.
+ * lib/string.in.h (mbspcasecmp): Fix specification comment.
+ * lib/mbspcasecmp.c (mbspcasecmp): Likewise.
+ Reported by Eric Blake <eblake@redhat.com>.
+
+2010-07-26 Paul R. Eggert <eggert@cs.ucla.edu>
+
+ timespec: use cast and not conditional, as truncation isn't possible
+ * lib/timespec.h (timespec_cmp): Use cast to pacify gcc -Wconversion
+ instead of a conditional. Comment about the situation in more detail.
+ This undoes most of the 2009-10-29 patch.
+
+2010-07-23 Paolo Bonzini <pbonzini@redhat.com>
+
+ unistr/u8-chr, unistr/u8-strchr: use Boyer-Moore like algorithm.
+ * lib/unistr/u8-chr.c: Add Boyer-Moore like operation.
+ * lib/unistr/u8-strchr.c: Likewise.
+ * modules/unistr/u8-chr: Depend on memchr.
+
+ unistr/u*-strchr: add tests
+ * modules/unistr/u8-strchr-tests: New file.
+ * modules/unistr/u16-strchr-tests: New file.
+ * modules/unistr/u32-strchr-tests: New file.
+ * tests/unistr/test-strchr.h: New file.
+ * tests/unistr/test-u8-strchr.c: New file.
+ * tests/unistr/test-u16-strchr.c: New file.
+ * tests/unistr/test-u32-strchr.c: New file.
+
+ unistr/u*-chr: test multibyte sequences more
+ * tests/unistr/test-chr.h: Do complete testing of the characters in the
+ test vector.
+ * tests/unistr/test-u8-chr.c (U_UCTOMB): Define.
+ * tests/unistr/test-u16-chr.c (U_UCTOMB): Likewise.
+ * tests/unistr/test-u32-chr.c (U_UCTOMB): Likewise.
+
+ unistr/u*-chr: test multibyte sequences
+ * tests/unistr/test-chr.h: Put characters above 0-127 in the test input.
+
+ unistr/u*-chr: prepare for multibyte tests
+ * modules/unistr/u8-chr-tests: Depend on u32-to-u8.
+ * modules/unistr/u16-chr-tests: Depend on u32-to-u16.
+ * tests/unistr/test-chr.h: Build initial version as UCS-4 then convert.
+ * tests/unistr/test-u8-chr.c (U32_TO_U): Define.
+ * tests/unistr/test-u16-chr.c (U32_TO_U): Likewise.
+ * tests/unistr/test-u32-chr.c (U32_TO_U): Likewise.
+
+2010-07-18 Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-strchr: Optimize non-ASCII argument case.
+ * lib/unistr/u8-strchr.c (u8_strchr): Compare the last byte first,
+ because the first byte often matches anyway.
+ Reported by Pádraig Brady <P@draigbrady.com>.
+
+2010-07-15 Karl Berry <karl@gnu.org>
+
+ * config/srclist.txt (fdl.texi): only one copy, from gnustandards.
+
+2010-07-14 Paul R. Eggert <eggert@cs.ucla.edu>
+
+ getcwd: on Solaris, work better if ancestors are inaccessible
+ * lib/getcwd.c (__getcwd): If getcwd returns EINVAL for zero
+ buffer and size, try again with a large buffer. This works better
+ on Solaris, since its getcwd succeeds even if the path to the root
+ is inaccessible, and this is helpful in common cases such as .zfs
+ hidden directories. Problem reported by J Chapman Flack in
+ http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00000.html
+ Use system getcwd if it's declared, not merely if it's partly
+ working; use the partly-working test only to avoid needless effort
+ if the system getcwd fails.
+ * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Omit
+ comment that was already obsolete and is now even more obsolete.
+ * modules/getcwd (Depends-on): Depend on strdup, since __getcwd
+ now might call strdup.
+
+2010-07-13 Paul R. Eggert <eggert@cs.ucla.edu>
+
+ pthread: Add enough so that coreutils/src/sort.c compiles.
+ * lib/pthread.in.h: Add self to author comment. Conditionalize on
+ _GL_PTHREAD_H, not PTHREAD_H_, for consistency with the rest of
+ gnulib. Include <sched.h> and <time.h>, as per POSIX.
+ Include <sys/types.h>, in case it defines pthread_t.
+ (pthread_t, pthread_attr_t, pthread_barrier_t, pthread_barrierattr_t):
+ (pthread_cond_t, pthread_condattr_t, pthread_key_t, pthread_mutex_t):
+ (pthread_mutexattr_t, pthread_once_t, pthread_rwlock_t):
+ (pthread_rwlockattr_t, pthread_spinlock_t):
+ New typedefs, if HAVE_PTHREAD_T is not defined.
+ (PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER):
+ (PTHREAD_ONCE_INIT, PTHREAD_RWLOCK_INITIALIZER):
+ (PTHREAD_BARRIER_SERIAL_THREAD, PTHREAD_CANCEL_DEFERRED):
+ (PTHREAD_CANCEL_ASYNCHRONOUS, PTHREAD_CANCEL_ENABLE):
+ (PTHREAD_CANCEL_DISABLE, PTHREAD_CANCELED, PTHREAD_CREATE_JOINABLE):
+ (PTHREAD_CREATE_DETACHED, PTHREAD_INHERIT_SCHED):
+ (PTHREAD_EXPLICIT_SCHED, PTHREAD_MUTEX_DEFAULT, PTHREAD_MUTEX_NORMAL):
+ (PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE):
+ (PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_PRIO_NONE):
+ (PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT, PTHREAD_PROCESS_PRIVATE):
+ (PTHREAD_PROCESS_SHARED, PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS):
+ New macros.
+ (pthread_cond_destroy, pthread_cond_init, pthread_cond_signal):
+ (pthread_cond_wait, pthread_exit, pthread_mutex_destroy):
+ (pthread_mutex_init, pthread_mutex_lock, pthread_mutex_unlock):
+ (pthread_spin_init, pthread_spin_lock, pthread_spin_trylock);
+ (pthread_spin_unlock): New dummy functions.
+ (pthread_create): Return EAGAIN; don't set errno.
+ * m4/pthread.m4 (gl_PTHREAD_CHECK): Check for pthread_t, and
+ require AC_C_INLINE.
+ * modules/pthread (Depends-on): Add sched, time.
+ (pthread.h): Use AM_V_GEN.
+
+2010-07-13 Bruno Haible <bruno@clisp.org>
+
+ striconveh: Don't malloc memory if the result buffer is sufficient.
+ * lib/striconveh.c (mem_cd_iconveh_internal): Use the provided result
+ buffer if its size is sufficient.
+ Reported by Ludovic Courtès <ludo@gnu.org>.
+
+2010-07-13 Bruno Haible <bruno@clisp.org>
+
+ strtod: Add safety check.
+ * lib/strtod.c (ldexp): Abort if this dummy replacement gets called.
+
+2010-07-12 Bruno Haible <bruno@clisp.org>
+
+ Unify tests that set gl_cv_func_ldexpl_no_libm.
+ * m4/ldexpl.m4 (gl_CHECK_LDEXPL_NO_LIBM): New macro, extracted from
+ gl_FUNC_LDEXPL.
+ (gl_FUNC_LDEXPL): Invoke it.
+ * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Likewise.
+
+2010-07-12 Bruno Haible <bruno@clisp.org>
+
+ Unify tests that set gl_cv_func_ldexp_no_libm.
+ * m4/ldexp.m4: New file, based on m4/mathfunc.m4.
+ * m4/strtod.m4 (gl_PREREQ_STRTOD): Require gl_CHECK_LDEXP_NO_LIBM.
+ * modules/ldexp (Files): Remove m4/mathfunc.m4. Add m4/ldexp.m4.
+ (configure.ac): Simply invoke gl_FUNC_LDEXP.
+ * modules/strtod (Files): Add m4/ldexp.m4.
+
2010-07-12 Bruno Haible <bruno@clisp.org>
Unify tests that set gl_cv_func_frexpl_no_libm.