strtok_r: Avoid triggering bug in AIX 7.1 xlc compiler.
[gnulib.git] / ChangeLog
index 0c81f94..78d3b35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,157 @@
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       strtok_r: Avoid triggering bug in AIX 7.1 xlc compiler.
+       * m4/strtok_r.m4 (gl_FUNC_STRTOK_R): Don't cast an invalid address to
+       a 'char *'.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       unlink: Update regarding AIX.
+       * doc/posix-functions/unlink.texi: Mention bug on AIX 7.1.
+       * m4/unlink.m4 (gl_FUNC_UNLINK): Update comment.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       symlink: Update regarding AIX.
+       * doc/posix-functions/symlink.texi: Mention bug on AIX 7.1.
+       * m4/symlink.m4 (gl_FUNC_SYMLINK): Update comment.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       strndup: Update regarding AIX.
+       * m4/strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, guess yes on
+       AIX 7.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       stat: Update regarding AIX.
+       * doc/posix-functions/stat.texi: Mention bug on AIX 7.1.
+       * m4/stat.m4 (gl_FUNC_STAT): Update comment.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       truncl: Fix autoconf test.
+       * m4/truncl.m4 (gl_FUNC_TRUNCL): Add TRUNCL_LIBM to LIBS while testing
+       whether truncl works.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       round: Update regarding AIX.
+       * m4/round.m4 (gl_FUNC_ROUND): When cross-compiling, guess no on AIX 7.
+       * doc/posix-functions/round.texi: Mention bug on AIX 7.1.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       rename: Update regarding AIX.
+       * doc/posix-functions/rename.texi: Mention bug on AIX 7.1.
+       * m4/rename.m4 (gl_FUNC_RENAME): Update comment.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       printf.m4: Update regarding AIX.
+       * m4/printf.m4: Update comments regarding AIX.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       iconv: Update regarding AIX.
+       * m4/iconv.m4 (AM_ICONV_LINK): When cross-compiling, guess yes on
+       AIX 7.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       getopt: Update regarding AIX.
+       * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): When cross-compiling, guess
+       no on AIX.
+       * doc/posix-functions/getopt.texi: Mention that AIX has the optind bug.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       ldexpl; Update regarding AIX.
+       * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): When cross-compiling, guess yes
+       on AIX 7.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       frexpl: Update regarding AIX.
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): When cross-compiling, guess yes
+       on AIX 7.
+       Reported by Rainer Tammer.
+
+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.
        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.