maint.mk: include 4 more function names in alloca.h-checking regexp
[gnulib.git] / ChangeLog
index 102df1c..1313708 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,104 @@
+2010-01-05  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: include 4 more function names in alloca.h-checking regexp
+       * top/maint.mk (sc_prohibit_xalloc_without_use): Use more complete
+       regexp.  Before, we would give a false-positive (saying alloca.h
+       is included unnecessarily) when the only uses involved omitted symbols.
+
+       xalloc.h: use consistent formatting
+       * lib/xalloc.h: Move declarations to start in the first column.
+
+2010-01-05  Eric Blake  <ebb9@byu.net>
+
+       mkdir: avoid xalloc
+       * lib/mkdir.c (includes): Drop unused header.
+       Reported by John W. Eaton.
+
+2010-01-04  Jim Meyering  <meyering@redhat.com>
+
+       nl_langinfo: avoid configure-time syntax error
+       * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): When we've already tested
+       for nl_langinfo.h, AC_CHECK_FUNCS_ONCE([nl_langinfo]) expands to
+       the empty string.  Don't let that provoke a shell syntax error.
+
+       regcomp, regexec, fnmatch: avoid array bounds read error
+       * lib/regcomp.c (build_equiv_class): From glibc:
+       Use only the low 24 bits of a findidx return value as an index
+       into the weights array.  Patch by Ulrich Drepper:
+       http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=b7d1c5fa30
+       * lib/regexec.c (check_node_accept_bytes): Likewise.
+       * lib/fnmatch_loop.c (FCT): Likewise.
+
+       regcomp: skip collseq lookup when there are no rules
+       * lib/regcomp.c (lookup_collation_sequence_value): From glibc:
+       http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a532a41df58
+
+       regcomp: recognize ill-formed { } expressions
+       * lib/regcomp.c (parse_dup_op): From glibc:
+       http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a87cd2894cb
+
+       regcomp: fix typo in comment
+       * lib/regcomp.c (duplicate_node_closure): Sync from glibc.
+       s/satisfy/satisfies/.
+
+       regcomp: sync from glibc: remove dead store
+       * lib/regcomp.c (duplicate_node_closure): Remove useless
+       search_duplicated_node call and dead store.
+
+       regcomp: sync from glibc; always use nl_langinfo
+       * lib/regcomp.c (init_dfa) [!LIBC]: Always use nl_langinfo (CODESET),
+       now that gnulib provides it.  Recognize UTF8 as well as UTF-8.
+       * modules/regex (Depends-on): Add nl_langinfo.
+
+2010-01-04  Eric Blake  <ebb9@byu.net>
+
+       fdopendir: fix configure test
+       * m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Check for existing file.
+
+2010-01-01  Bruno Haible  <bruno@clisp.org>
+
+       wchar: Remove unused configure check.
+       * m4/wchar.m4 (gl_WCHAR_H): Don't test whether <wchar.h> is standalone.
+
+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
 2009-12-31  Eric Blake  <ebb9@byu.net>
 
        doc: correct availability of cygwin 1.5.x getopt
            --with-packager=Gentoo \
            --with-packager-bug-report=http://bugs.gentoo.org/ \
            --with-packager-version="patchset 1.6"
            --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)
          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:
        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:
 
        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
 
        Copying and distribution of this file, with or without
        modification, are permitted provided the copyright notice