2010-07-31 Bruno Haible <bruno@clisp.org>
+ ansi-c++-opt: Provide option --enable-c++/--disable-c++ when possible.
+ * m4/ansi-c++.m4 (gl_CXX_CHOICE): In Autoconf 2.66 or newer, provide
+ option --enable/disable-c++ instead of --enable/disable-cxx.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ readlink, areadlink: Relax test a bit.
+ * tests/test-readlink.h (test_readlink): Accept EINVAL as an
+ alternative to ENOTDIR.
+ * tests/test-areadlink.h (test_areadlink): Likewise.
+ Reported by Rainer Tammer.
+
+2010-07-31 Bruno Haible <bruno@clisp.org>
+
+ unistr/u8-strstr, unistr/u16-strstr: Optimize the one-character case.
+ * lib/unistr/u-strstr.h (FUNC): When the needle contains only one
+ character, perform the search using U_STRCHR.
+ * lib/unistr/u8-strstr.c (U_STRMBTOUC): New macro.
+ * lib/unistr/u16-strstr.c (U_STRMBTOUC): Likewise.
+ * modules/unistr/u8-strstr (Depends-on): Add unistr/u8-strmbtouc.
+ * modules/unistr/u16-strstr (Depends-on): Add unistr/u16-strmbtouc.
+ Suggested by Paolo Bonzini.
+
+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.