Oops, fix last commit so that it also works with modf().
[gnulib.git] / ChangeLog
index 766fcfe..b0d7104 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,217 @@
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       posix-modules: Ignore backup files of documentation files.
+       * posix-modules: grep only through files named *.texi.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       symlinkat: Fix documentation.
+       * doc/posix-functions/readlinkat.texi: Fix module name.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       fchownat: Replace also when chown has the trailing slash bug.
+       * m4/openat.m4 (gl_FUNC_FCHOWNAT): Move the test of REPLACE_CHOWN
+       outside the gl_FUNC_FCHOWNAT_DEREF_BUG invocation. Fixes regression
+       introduced on 2010-04-10.
+       Reported by Rainer Tammer.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       linkat: Work around AIX 7.1 bug.
+       * m4/linkat.m4 (gl_FUNC_LINKAT): Require AC_CANONICAL_HOST. Test
+       whether linkat handles trailing slash correctly. If not, replace linkat
+       and define LINKAT_TRAILING_SLASH_BUG.
+       * lib/linkat.c (rpl_linkat): If LINKAT_TRAILING_SLASH_BUG is defined,
+       check whether (fd1,file1) points to a directory if file1 or file2 ends
+       in a slash. Code taken from lib/link.c.
+       * doc/posix-functions/linkat.texi: Mention trailing slash bug.
+       Reported by Rainer Tammer.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       Correctly determine whether pow is available in libc on AIX 7 with xlc.
+       * m4/mathfunc.m4 (gl_MATHFUNC): Actually use the 'funcptr' variable.
+       This disables an xlc optimization that was causing wrong test results.
+       Reported by Rainer Tammer.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       iconv: Work around AIX 6.1..7.1 bug.
+       * doc/posix-functions/iconv.texi: Mention AIX 6.1, 7.1 bug.
+       * m4/iconv.m4 (AM_ICONV_LINK): Test against AIX 6.1, 7.1 bug. When
+       cross-compiling, guess no on all versions of AIX.
+       Reported by Rainer Tammer.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       readlink: Relax test a bit.
+       * tests/test-readlink.h (test_readlink): Allow different errno value
+       when readlink is called with a file name that ends in / and refers to
+       a file.
+       Suggested by Eric Blake.
+       Reported by Rainer Tammer.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       copysign: Does not require -lm on glibc systems.
+       * modules/copysign (configure.ac): Use gl_MATHFUNC, not
+       gl_COMMON_DOUBLE_MATHFUNC.
+       * m4/mathfunc.m4 (gl_COMMON_DOUBLE_MATHFUNC): Update comments.
+
+2010-07-31  Bruno Haible  <bruno@clisp.org>
+
+       duplocale: Work around AIX 7.1 bug.
+       * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Let the test fail also when
+       duplocale(LC_GLOBAL_LOCALE) returns (locale_t)0.
+       * lib/duplocale.c (rpl_duplocale): Update comment.
+       * doc/posix-functions/duplocale.texi: Mention the AIX 7.1 bug.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       dirfd: Avoid link error on AIX 7.1.
+       * lib/dirent.in.h (dirfd): Use modern idiom with REPLACE_DIRFD.
+       * m4/dirfd.m4 (gl_FUNC_DIRFD): If the function is declared but does not
+       exist, set REPLACE_DIRFD.
+       * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize REPLACE_DIRFD.
+       * modules/dirent (Makefile.am): Substitute REPLACE_DIRFD.
+       * doc/posix-functions/dirfd.texi: Update.
+       Reported by Rainer Tammer.
+
+2010-07-30  Eric Blake  <eblake@redhat.com>
+
+       strtod: next round of AIX fixes
+       * lib/strtod.c (strtod): Work around AIX bug of parsing p with no
+       exponent.
+       * tests/test-strtod.c (main): Enhance tests.
+       * doc/posix-functions/strtod.texi (strtod): Document next bug.
+       Reported by Rainer Tammer.
+
+       futimens: fix configure check
+       * m4/futimens.m4 (gl_FUNC_FUTIMENS): Use correct logic.
+       Reported by Bruno Haible.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       getline: Update regarding AIX.
+       * doc/posix-functions/getline.texi: Mention bug on AIX 7.1.
+       Reported by Rainer Tammer.
+
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+       wcwidth: Drop replacement on AIX 7.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): When cross-compiling, guess yes on
+       AIX 7.
+       Reported by Rainer Tammer.
+
+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