2010-07-31 Bruno Haible <bruno@clisp.org>
+ unistr/u*-strstr: Fix dependencies.
+ * modules/unistr/u8-strstr (Depends-on): Add unistr/u8-strchr.
+ * modules/unistr/u16-strstr (Depends-on): Add unistr/u16-strchr.
+ * modules/unistr/u32-strstr (Depends-on): Add unistr/u32-strchr.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-chr, unistr/u8-strchr: Optimize and add comments.
+ * lib/unistr/u8-chr.c (u8_chr): Add comments. Remove a useless test at
+ the beginning of the loop.
+ * lib/unistr/u8-strchr.c (u8_strchr): Add comments. Don't fall through
+ cases in 'switch' statement.
+
+ unistr/u8-strchr: Fix several bugs.
+ * lib/unistr/u8-strchr.c (u8_strchr): Don't search beyond the end of
+ the string. When not found, return NULL, not a pointer near the end.
+
+ More tests for unistr/u8-strchr.
+ * tests/unistr/test-strchr.h (test_strchr): Renamed from main. Check
+ that the function does not read past the first occurrence of the byte
+ being searched.
+ * tests/unistr/test-u8-strchr.c (main): New function, with more tests.
+ * tests/unistr/test-u16-strchr.c (main): New function.
+ * tests/unistr/test-u32-strchr.c (main): New function.
+
+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.