getcwd: Fix link error on MSVC 9.
[gnulib.git] / ChangeLog
index 9623f17..9f8b30b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,58 @@
+2011-11-27  Bruno Haible  <bruno@clisp.org>
+
+       getcwd: Fix link error on MSVC 9.
+       * modules/getcwd (Depends-on): Add readdir, rewinddir.
+
+2011-11-27  Bruno Haible  <bruno@clisp.org>
+
+       Don't set REPLACE_FOO to 1 if HAVE_FOO is 0.
+       * m4/opendir.m4 (gl_FUNC_OPENDIR): Don't set REPLACE_OPENDIR to 1 if
+       HAVE_OPENDIR is 0.
+       * m4/closedir.m4 (gl_FUNC_CLOSEDIR): Don't set REPLACE_CLOSEDIR to 1 if
+       HAVE_CLOSEDIR is 0.
+       * m4/dup2.m4 (gl_FUNC_DUP2): Don't set REPLACE_DUP2 to 1 if HAVE_DUP2
+       is 0.
+       * m4/dup3.m4 (gl_FUNC_DUP3): Update comments.
+
+2011-11-27  Bruno Haible  <bruno@clisp.org>
+
+       getcwd: Fix bug from 2011-08-17.
+       * m4/getcwd.m4 (gl_FUNC_GETCWD): Set REPLACE_GETCWD to 1 only on
+       platforms that need it.
+       * m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): Consider a return
+       code of 4 to be a failure, not a success. This ensures that
+       REPLACE_GETCWD becomes 1 on OpenBSD 4.9 and NetBSD 5.1.
+
+2011-11-27  Bruno Haible  <bruno@clisp.org>
+
+       binary-io tests: Avoid test failure on mingw when libtool is used.
+       * tests/test-binary-io.c (main): Don't remove t-bin-out2.tmp here.
+       Don't verify the size of t-bin-out1.tmp here.
+       * tests/test-binary-io.sh: Verify it here.
+       Reported by Simon Josefsson.
+
+2011-11-26  Bruno Haible  <bruno@clisp.org>
+
+       Fix conflict between two instantiations of module 'unistd'.
+       * gnulib-tool (func_emit_autoconf_snippet): Substitute
+       ${include_guard_prefix} also in the autoconf snippet.
+       * m4/getopt.m4 (gl_FUNC_GETOPT_POSIX): Don't set GNULIB_UNISTD_H_GETOPT.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Don't initialize
+       GNULIB_UNISTD_H_GETOPT.
+       * modules/getopt-posix (configure.ac): Set the
+       GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT variable.
+       * modules/getopt-gnu (configure.ac): Likewise.
+       * modules/unistd (Makefile.am): Change the substitution value of
+       GNULIB_UNISTD_H_GETOPT to depend on the include guard prefix.
+       Reported by Simon Josefsson.
+
+2011-11-25  Bruno Haible  <bruno@clisp.org>
+
+       pagealign_alloc: Doc and comments.
+       * doc/posix-functions/posix_memalign.texi: Refer to the pagealign_alloc
+       module.
+       * lib/pagealign_alloc.c (pagealign_alloc): Add comment.
+
 2011-11-25  Jim Meyering  <meyering@redhat.com>
 
        test-update-copyright.sh: avoid false-positive failure