Add comments.
[gnulib.git] / ChangeLog
index 50d3cd3..18677b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,179 @@
+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.
+       * lib/sys_select.in.h: Include <string.h>.
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Test also against
+       Solaris 10 problem.
+       * tests/test-sys_select.c (main): Add check that FD_ZERO can be used.
+       * doc/posix-headers/sys_select.texi: Mention the Solaris 10 problem.
+       Reported by Jim Meyering.
+
+2009-08-09  Bruno Haible  <bruno@clisp.org>
+
+       Avoid warnings from 'aclocal' that are due to a use of macro name
+       AM_XGETTEXT_OPTION that is not defined in automake.
+       * modules/argp (configure.ac): Hide use of AM_XGETTEXT_OPTION from
+       automake.
+       * modules/error (configure.ac): Likewise.
+       * modules/propername (configure.ac): Likewise.
+       * modules/vasprintf (configure.ac): Likewise.
+       * modules/verror (configure.ac): Likewise.
+       * modules/xprintf (configure.ac): Likewise.
+       * modules/xvasprintf (configure.ac): Likewise.
+
+2009-08-08  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compilation error in C++ mode.
+       * lib/gettimeofday.c (rpl_gettimeofday): Cast timezone argument.
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2009-08-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Define HOST_NAME_MAX also
+       for the various Unix platforms.
+       * doc/posix-headers/limits.texi: Update platforms list regarding
+       HOST_NAME_MAX.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
+2009-08-07  Jim Meyering  <meyering@redhat.com>
+
+       selinux-at: fix typo in a comment
+       * lib/selinux-at.h: s/getfileconat/getfilecon/ in a comment.
+       Spotted by Paolo Bonzini.
+
+       selinux-at: remove redundant m4 code, add documentation
+       * modules/selinux-at (configure.ac): Remove redundant code.
+       LIB_SELINUX is already set via the dependent module, selinux-h.
+       (Include): Add quotes around selinux-at.h.
+       * lib/selinux-at.h: Add documentation.
+       Reported by Bruno Haible in
+       http://marc.info/?l=gnulib-bug&m=124958988300749
+
+2009-08-07  Bruno Haible  <bruno@clisp.org>
+
+       Avoid link error on MacOS X 10.3 and 10.4.
+       * lib/argp-ba.c (argp_program_bug_address): Explicitly zero-initialize
+       on non-ELF systems.
+       * lib/argp-pv.c (argp_program_version): Likewise.
+       Reported by Simon Josefsson.
+
+2009-08-07  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-version-etc.sh: Use $EXEEXT.
+
+2009-08-06  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: update documentation to point to maint.mk
+       * build-aux/update-copyright: Here.
+
 2009-08-06  Jim Meyering  <meyering@redhat.com>
 
+       maint.mk: support update-copyright-local
+       * top/maint.mk (update-copyright-local): Define place-holder.
+       (update-copyright): Depend on $(update-copyright-local).
+
+2009-08-06  Jim Meyering  <meyering@redhat.com>
+
+       selinux-at: new module
+       Initially written for coreutils, this module will soon be
+       used by findutils, too.
+       * MODULES.html.sh [Misc]: Add selinux-at.
+       * lib/selinux-at.h: New file, from coreutils.
+       * lib/selinux-at.c: Likewise.
+       * modules/selinux-at: Likewise.
+       (License): Change from LGPL to GPL, since it depends
+       on the GPL'd openat module.
+
        doc: update README
        * README: Remove references to cogito.
        Remove cvs-repo-updating instructions from 2007.