revamp the other test-exclude?.sh scripts to use init.sh, too
[gnulib.git] / ChangeLog
index 83c2d12..2794c4d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,107 @@
+2011-11-12  Jim Meyering  <meyering@redhat.com>
+
+       revamp the other test-exclude?.sh scripts to use init.sh, too
+       * tests/test-exclude1.sh: Use init.sh.
+       * tests/test-exclude2.sh: Likewise.
+       * tests/test-exclude3.sh: Likewise.
+       * tests/test-exclude4.sh: Likewise.
+       * tests/test-exclude5.sh: Likewise.
+       * tests/test-exclude6.sh: Likewise.
+       * tests/test-exclude7.sh: Likewise.
+       * tests/test-exclude8.sh: Likewise.
+       * modules/exclude-tests (Files): List init.sh.
+
+       test-exclude2.sh, test-exclude5.sh: fail if test-exclude fails
+       These shell scripts ignored failure of the binary test-exclude,
+       so making the latter return 77 didn't cause them to be skipped.
+       * tests/test-exclude5.sh: Exit with test-exclude's error status
+       when that program fails.  Revamp to use init.sh.
+       * tests/test-exclude2.sh: Likewise.
+
+       test-exclude: fix a typo
+       * tests/test-exclude.c (main): Test for "leading_dir", not "leading-dir".
+
+2011-11-11  Bruno Haible  <bruno@clisp.org>
+
+       obstack: Fix compilation error on MSVC 9.
+       * lib/obstack.c (print_and_abort): Declare with _Noreturn specifier.
+
+2011-11-11  Jim Meyering  <meyering@redhat.com>
+
+       test-exclude: skip tests rather than failing on deficient systems
+       * tests/test-exclude.c (main): Skip tests that use FNM_CASEFOLD
+       and FNM_LEADING_DIR on systems that lack the definitions.  This affects
+       at least Solaris 9.  Reported and diagnosed by Dagobert Michelsen in
+       http://thread.gmane.org/gmane.comp.gnu.grep.bugs/3947/focus=3950
+
+2011-11-10  Bruno Haible  <bruno@clisp.org>
+
+       ptsname_r test: Avoid gcc warning on glibc systems.
+       * tests/test-ptsname_r.c (null_ptr): New function.
+       (test_errors): Use it.
+
+2011-11-10  Bruno Haible  <bruno@clisp.org>
+
+       ptsname_r: Avoid compilation error on OSF/1 5.1.
+       * lib/stdlib.in.h (ptsname_r): Override if REPLACE_PTSNAME_R is 1.
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_PTSNAME_R.
+       * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): Set REPLACE_PTSNAME_R if the
+       function is not declared or incompatibly declared.
+       * modules/stdlib (Makefile.am): Substitute REPLACE_PTSNAME_R.
+       * modules/ptsname_r (Depends-on, configure.ac): Update.
+       * doc/glibc-functions/ptsname_r.texi: Mention the OSF/1 problems.
+
+2011-11-10  Bruno Haible  <bruno@clisp.org>
+
+       fstatat: Make cross-compilation guess succeed everywhere except on AIX.
+       * m4/fstatat.m4 (gl_FUNC_FSTATAT): Require AC_CANONICAL_HOST.
+       When cross-compiling, guess yes on all platforms except AIX.
+       Reported by Ludovic Courtès <ludo@gnu.org>.
+
+2011-11-09  Bruno Haible  <bruno@clisp.org>
+
+       ptsname_r tests: Fix bugs.
+       * tests/test-ptsname_r.c (test_errors): Change return type to 'void'.
+       Fix ptsname_r calls. Reduce loop rounds to a reasonable amount.
+
+2011-11-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       fstatat: work with cross-compilation
+       Problem reported by Ludovic Courtès in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00136.html>.
+       * m4/fstatat.m4 (gl_FUNC_FSTATAT): When cross-compiling, report
+       "cross-compiling" and assume the bug is present.  Replace
+       FSTATAT_ZERO_FLAG_BROKEN with HAVE_WORKING_FSTATAT_ZERO_FLAG with
+       an inverted sense, to be more conservative about our assumptions.
+       * lib/fstatat.c (rpl_fstatat): Adjust to renamed macro.
+
+2011-11-09  Bruno Haible  <bruno@clisp.org>
+
+       Improve MODULES.html output.
+       * modules/mkfifoat (Description): Use the word "function".
+       * modules/readlinkat (Description): Likewise.
+       * modules/symlinkat (Description): Likewise.
+
+2011-11-09  Eric Blake  <eblake@redhat.com>
+
+       ptsname_r-tests: new test module
+       * modules/ptsname_r-tests: New module.
+       * tests/test-ptsname_r.c: New file.
+
+       ptsname_r: new module
+       * modules/ptsname_r: New module.
+       * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): New file.
+       * lib/ptsname.c (__ptsname_r): Split...
+       * lib/ptsname_r.c: ...into new file.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Check for decl.
+       (gl_STDLIB_H_DEFAULTS): Set witness defaults.
+       * modules/stdlib (Makefile.am): Substitute witnesses.
+       * lib/stdlib.in.h (ptsname_r): Declare it.
+       * doc/glibc-functions/ptsname_r.texi (ptsname_r): Document it.
+       * MODULES.html.sh (Misc): Likewise.
+       * modules/ptsname (Depends-on): Alter dependency.
+       * doc/posix-functions/ptsname.texi (ptsname): Mention new module.
+
 2011-11-09  Jim Meyering  <meyering@redhat.com>
 
        announce-gen: be more concise when there's only one URL+tarball