+2010-09-15 Bruno Haible <bruno@clisp.org>
+
+ stdlib: clarify MirBSD WEXITSTATUS bug
+ * lib/stdlib.in.h: Clarify the MirBSD bug regarding WEXITSTATUS.
+ * doc/posix-headers/stdlib.texi (stdlib.h): Likewise.
+
+2010-09-15 Eric Blake <eblake@redhat.com>
+
+ stdlib: work around MirBSD WEXITSTATUS bug
+ * lib/stdlib.in.h (includes): Guarantee WEXITSTATUS.
+ * modules/stdlib (Depends-on): Add sys_wait.
+ * tests/test-sys_wait.c (main): Enhance test.
+ * tests/test-stdlib.c (main): Likewise.
+ * doc/posix-headers/stdlib.texi (stdlib.h): Document the bug.
+
+ docs: mention MacOS issue with WEXITSTATUS(constant)
+ * doc/posix-headers/sys_wait.texi (sys/wait.h): Document the
+ issue.
+ * doc/posix-headers/stdlib.texi (stdlib.h): Likewise.
+
+ strnlen: add tests
+ * modules/strnlen-tests: New file.
+ * tests/test-strnlen.c: Likewise.
+
+2010-09-14 Bruno Haible <bruno@clisp.org>
+
+ unistr/base: Avoid link errors when module 'libunistring' is also used.
+ * lib/unistr.in.h (u8_mbtouc_unsafe, u16_mbtouc_unsafe,
+ u32_mbtouc_unsafe, u8_mbtouc, u16_mbtouc, u32_mbtouc, u8_mbtoucr,
+ u16_mbtoucr, u32_mbtoucr, u8_uctomb_aux, u16_uctomb_aux, u32_uctomb):
+ Declare also when HAVE_LIBUNISTRING is set.
+ Reported by Pádraig Brady <P@draigbrady.com>.
+
+2010-09-14 Eric Blake <eblake@redhat.com>
+
+ test-rawmemchr: make more robust
+ * modules/rawmemchr-tests (Files): Add zerosize-ptr.h, mmap-anon.m4.
+ (Depends-on, configure.ac): Add needed prerequisites to use it.
+ * modules/memchr-tests (Files, Depends-on, configure.ac):
+ Likewise, to avoid implicit reliance on memchr module prereqs.
+ * tests/test-memchr.c (main): Ensure proper masking.
+ * tests/test-rawmemchr.c (main): Likewise. Detect oversized
+ reads.
+
+ memchr: detect glibc Alpha bug
+ Avoids http://sourceware.org/bugzilla/show_bug.cgi?id=12019.
+ * m4/memchr.m4 (gl_FUNC_MEMCHR): Detect glibc 2.11.2 failure on
+ Alpha.
+ * doc/posix-functions/memchr.texi (memchr): Tweak wording.
+ * tests/test-memchr.c (main): Enhance test.
+ Reported by Nelson H. F. Beebe.
+
+2010-09-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ fts, getcwd, glob: audit for dirfd returning -1
+ * lib/fts.c (opendir): Remove #define; no longer used.
+ (opendirat): New arg PDIR_FD. All callers changed.
+ (fts_build, _opendir2): Use new opendirat to avoid the need for
+ dirfd, or for checking whether dirfd returns a negative value.
+ Don't use opendir; always use openat followed by fdopendir.
+ * lib/getcwd.c (__getcwd): Don't reset fd; fdopendir no longer clobbers
+ it.
+ * lib/glob.c (link_exists_p): Add comment explaining why dirfd never
+ returns -1 here.
+ * modules/fts (Depends-on): Remove dirfd.
+ * modules/getcwd (Depends-on): Likewise.
+
2010-09-13 Eric Blake <eblake@redhat.com>
float: fix broken MirBSD header