headers: make check of system header explicit
[gnulib.git] / ChangeLog
index 20c23ae..4985741 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,145 @@
+2010-01-01  Eric Blake  <ebb9@byu.net>
+
+       headers: make check of system header explicit
+       * m4/netdb_h.m4 (gl_HEADER_NETDB): Don't exploit knowledge of
+       gl_CHECK_NEXT_HEADER internals, but call AC_CHECK_HEADERS_ONCE
+       ourselves.
+       * m4/search_h.m4 (gl_SEARCH_H): Likewise.
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise.
+       * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Likewise.
+       * m4/inttypes.m4 (gl_INTTYPES_H): Likewise, for gt_INTTYPES_PRI
+       internals.
+       * m4/wchar.m4 (gl_WCHAR_H): Skip followup test if header is
+       missing.
+       Suggested by Bruno Haible.
+
+2010-01-01  Jim Meyering  <meyering@redhat.com>
+
+       ChangeLog: tweak to eliminate unnecessary copyright line
+       * ChangeLog: Remove a copyright line that was mistakenly updated
+       by today's update-copyright run.  Reported by Eric Blake.
+
+       test-update-copyright: don't let envvar setting cause test failure
+       * tests/test-update-copyright.sh: Set UPDATE_COPYRIGHT_MAX_LINE_LENGTH.
+
+2010-01-01  Bruno Haible  <bruno@clisp.org>
+
+       localename: Avoid gcc warning.
+       * lib/localename.c (gl_locale_name_thread_unsafe): Don't define this
+       function if it is not used.
+
+2010-01-01  Jim Meyering  <meyering@redhat.com>
+
+       update nearly all FSF copyright year lists to include 2010
+       Use the same procedure as for 2009, outlined in
+       http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
+
+       version-etc: set COPYRIGHT_YEAR to 2010
+       * lib/version-etc.c (COPYRIGHT_YEAR): Manually update the enum.
+
+2009-12-31  Eric Blake  <ebb9@byu.net>
+
+       doc: correct availability of cygwin 1.5.x getopt
+       * doc/posix-functions/optarg.texi (optarg): Cygwin supplies getopt
+       variables.
+       * doc/posix-functions/opterr.texi (opterr): Likewise.
+       * doc/posix-functions/optind.texi (optind): Likewise.
+       * doc/posix-functions/optopt.texi (optopt): Likewise.
+       * doc/posix-functions/tzname.texi (tzname): Likewise.
+
+       openat: update maintainer
+       * modules/openat (Maintainer): Add myself.
+
+       utimens: avoid shadowing warning
+       * lib/utimens.c (fdutimens, lutimens): Consolidate separate stat
+       buffers into one, to avoid shadowing, as well as avoiding a
+       redundant stat.
+       Reported by Jim Meyering.
+
+       test-dup2: avoid compiler warning
+       * tests/test-dup2.c (is_inheritable): Only define if used.
+
+2010-01-01  Bruno Haible  <bruno@clisp.org>
+
+       vasnprintf: Avoid passing an 'rpl_mbstate_t *' to the system's wcrtomb.
+       * lib/vasnprintf.c (VASNPRINTF): If GNULIB_defined_mbstate_t is
+       defined, use wctomb instead of wcrtomb.
+
+2010-01-01  Bruno Haible  <bruno@clisp.org>
+
+       iconv: Reject native Solaris iconv.
+       * m4/iconv.m4 (AM_ICONV_LINK): Recognize native Solaris iconv() bug.
+       * doc/posix-functions/iconv.texi: Document native Solaris iconv() bug.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-signal.c (main): Remove test of 'SIG'.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       spawn: Fix incomplete fix.
+       * lib/spawn.in.h (posix_spawnattr_getflags, posix_spawnattr_setflags,
+       posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Correct the link
+       warnings for GNULIB_POSIXCHECK again.
+       Reported by Eric Blake.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       Avoid namespace pollution on glibc systems.
+       * lib/spawn.in.h: Don't include <sched.h>, <signal.h> on glibc systems.
+       * lib/sys_times.in.h: Don't include <time.h> on glibc systems.
+       * lib/wchar.in.h: Don't include <stddef.h>, <stdio.h>, <time.h> on
+       glibc systems.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/wchar.m4 (gl_WCHAR_H): Remove gl_STDDEF_H invocation.
+       (gl_REPLACE_WCHAR_H): Turn into a no-op.
+       * m4/arpa_inet_h.m4 (gl_REPLACE_ARPA_INET_H): Likewise.
+       * m4/dirent_h.m4 (gl_REPLACE_DIRENT_H): Likewise.
+       * m4/locale_h.m4 (gl_REPLACE_LOCALE_H): Likewise.
+       * m4/spawn_h.m4 (gl_REPLACE_SPAWN_H): Likewise.
+       * m4/sys_ioctl_h.m4 (gl_REPLACE_SYS_IOCTL_H): Likewise.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Invoke
+       gl_CHECK_NEXT_HEADERS before testing ac_cv_header_sys_select_h, not
+       afterwards.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H_DEFAULTS): Don't set
+       SYS_UTSNAME_H.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       spawn: Fix misapplied patch.
+       * lib/spawn.in.h (posix_spawnattr_getflags, posix_spawnattr_setflags,
+       posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Correct the link
+       warnings for GNULIB_POSIXCHECK.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       times: Update after sys_times changed.
+       * m4/times.m4: New file, extracted from modules/times. Set HAVE_TIMES.
+       * modules/times (Files): Add it.
+       (configure.ac): Invoke gl_FUNC_TIMES.
+
+2009-12-31  Bruno Haible  <bruno@clisp.org>
+
+       Use AC_C_INLINE where necessary.
+       * m4/chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Require AC_C_INLINE.
+       * m4/fatal-signal.m4 (gl_FATAL_SIGNAL): Likewise.
+       * m4/fts.m4 (gl_FUNC_FTS_CORE): Likewise.
+       * m4/mbchar.m4 (gl_MBCHAR): Likewise.
+       * m4/mbfile.m4 (gl_MBFILE): Likewise.
+       * m4/mbiter.m4 (gl_MBITER): Likewise.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
+       * m4/stat.m4 (gl_FUNC_STAT): Likewise.
+       * m4/wait-process.m4 (gl_WAIT_PROCESS): Likewise.
+       * modules/u64 (configure.ac): Likewise.
+
 2009-12-31  Bruno Haible  <bruno@clisp.org>
 
        Use AC_C_INLINE instead of module 'inline' where possible.
            --with-packager=Gentoo \
            --with-packager-bug-report=http://bugs.gentoo.org/ \
            --with-packager-version="patchset 1.6"
-         $ ./src/ls --version | head -n3
+         $ ./src/ls --version | head -n2
          ls (GNU coreutils) 7.1-dirty
          Packaged by Gentoo (patchset 1.6)
-         Copyright (C) 2009 Free Software Foundation, Inc.
        Note that the bug reporting info via --help doesn't show up because
        coreutils uses its own custom emit_bug_reporting_address() implementation
        in src/system.h.  If it didn't, it'd look like:
        coding: utf-8
        End:
 
-       Copyright (C) 1997-2009 Free Software Foundation, Inc.
+       Copyright (C) 1997-2010 Free Software Foundation, Inc.
 
        Copying and distribution of this file, with or without
        modification, are permitted provided the copyright notice