Add comments.
[gnulib.git] / ChangeLog
index 339ce01..18677b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,93 @@
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/getopt.m4: Add comments.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Disable multithread support by default on Cygwin 1.5.x.
+       * m4/threadlib.m4 (gl_THREADLIB_EARLY_BODY): On Cygwin 1.5.x and older,
+       set gl_use_threads=no if not specified otherwise.
+
+2009-08-11  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compilation error on NetBSD 5.0.
+       * tests/test-locale.c: Write sizeof (NULL) instead of sizeof NULL.
+       * tests/test-stdio.c: Likewise.
+       * tests/test-stdlib.c: Likewise.
+       * tests/test-string.c: Likewise.
+       * tests/test-unistd.c: Likewise.
+       Reported by Greg Troxel <gdt@ir.bbn.com>
+       at <https://savannah.gnu.org/support/?106973>.
+
+2009-08-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/dup2-tests (Depends-on): Remove close.
+
+       Undo 2009-07-19 commit.
+       * modules/acl-tests (Depends-on): Remove close.
+       * modules/binary-io-tests (Depends-on): Likewise.
+       * modules/closein-tests (Depends-on): Likewise.
+       * modules/flock-tests (Depends-on): Likewise.
+       * modules/fsync-tests (Depends-on): Likewise.
+       * modules/lseek-tests (Depends-on): Likewise.
+       * modules/pipe-tests (Depends-on): Likewise.
+       * modules/posix_spawn-tests (Depends-on): Likewise.
+       * modules/posix_spawnp-tests (Depends-on): Likewise.
+       * modules/stat-time-tests (Depends-on): Likewise.
+       * modules/yesno-tests (Depends-on): Likewise.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (DCHAR_SET): Undefine at the end.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Fix a gcc warning.
+       * lib/write.c (rpl_write): Cast result of _get_osfhandle.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Don't optimize AC_LIBOBJs, as they may appear in different contexts.
+       * m4/close.m4 (gl_REPLACE_CLOSE): Execute AC_LIBOBJ unconditionally,
+       not only the first time.
+       * m4/fclose.m4 (gl_REPLACE_FCLOSE): Likewise.
+       * m4/open.m4 (gl_REPLACE_OPEN): Likewise.
+       * m4/strstr.m4 (gl_FUNC_STRSTR): Execute AC_LIBOBJ when REPLACE_STRSTR
+       is 1, not only the the first time.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Make it possible to use module 'gethostname' without module 'close'.
+       * lib/unistd.in.h (close): Evoke a link error only if
+       UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS is set.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+       UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       * modules/unistd (Makefile.am): Substitute
+       UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       * lib/sys_ioctl.in.h (ioctl): Evoke a link error only if
+       SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS is set.
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H_DEFAULTS): Initialize
+       SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       * modules/sys_ioctl (Makefile.am): Substitute
+       SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       * modules/socket (configure.ac): On native Windows, set
+       UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS and
+       SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/close.m4 (gl_FUNC_CLOSE): Add comment.
+       * modules/ioctl (configure.ac): Likewise.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Avoid collision between gnulib wrapper and libintl wrapper.
+       * lib/stdio-write.c (printf): Don't define if a printf wrapper is
+       already defined in intl/printf.c.
+       (vprintf): Test REPLACE_VPRINTF_POSIX, not REPLACE_VFPRINTF_POSIX.
+       (vfprintf): Test REPLACE_VFPRINTF_POSIX, not REPLACE_VPRINTF_POSIX.
+
 2009-08-09  Bruno Haible  <bruno@clisp.org>
 
        Make <sys/select.h> really self-contained, also on Solaris 10.