wctype: allow C++ use
[gnulib.git] / ChangeLog
index 272c77f..4b1f6d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,156 @@
+2010-01-07  John W. Eaton  <jwe@octave.org>
+
+       wctype: allow C++ use
+       * lib/wctype.in.h: Add extern "C" block for C++.
+
+2010-01-06  Eric Blake  <ebb9@byu.net>
+
+       maint.mk: detect incorrect GFDL usage
+       * top/maint.mk (_GFDL_regexp, sc_GFDL_version): New rule.
+
+2010-01-06  Jim Meyering  <meyering@redhat.com>
+       and Eric Blake  <ebb9@byu.net>
+
+       maint.mk: ignore multi-line copyright in NEWS
+       * top/maint.mk (NEWS_hash): Add immunity to multi-line copyright.
+
+2010-01-06  Eric Blake  <ebb9@byu.net>
+
+       select: add missing dependency
+       * modules/select-tests (Depends-on): Move sockets dependency...
+       * modules/select (Depends-on): ...here.
+       Reported by Ian Beckwith.
+
+       doc: regenerate INSTALL
+       * doc/INSTALL: Reflect recent autoconf update.
+       * doc/INSTALL.ISO: Likewise.
+       * doc/INSTALL.UTF-8: Likewise.
+
+       pread: fix compilation on glibc
+       * m4/pread.m4 (gl_FUNC_PREAD): Request all interfaces.
+       Reported by Ralf Wildenhues.
+
+       dirent: fix test failure
+       * lib/dirent.in.h (includes): Guarantee ino_t.
+       Reported by Ralf Wildenhues.
+
+2010-01-06  Petr Salinger  <Petr.Salinger@seznam.cz>  (tiny change)
+
+       linkat, renameat: avoid bad free
+       * lib/at-func2.c (at_func2): Fix typo.
+       Reported via Ian Beckwith, from http://bugs.debian.org/561117.
+
+2010-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       cleanup after gl_FUNC_READLINK, for gl_FUNC_SYMLINK test
+       * m4/readlink.m4 (gl_FUNC_READLINK): Remove conftest.lnk2,
+       to avoid failure of symlink test later.
+
+2010-01-06  Eric Blake  <ebb9@byu.net>
+
+       stdio, unistd: guarantee ssize_t
+       * lib/unistd.in.h (includes): Ensure that types required by POSIX
+       2008 are exposed when needed.
+       * lib/stdio.in.h (includes): Likewise.
+       Reported by Ralf Wildenhues.
+
+2010-01-06  Paolo Bonzini  <bonzini@gnu.org>
+
+       nl_langinfo: do not call AC_CHECK_FUNC_ONCE inside if.
+       * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): Do not call
+       AC_CHECK_FUNC_ONCE inside if, do not adjust ac_cv_func_nl_langinfo.
+
+2010-01-06  Jim Meyering  <meyering@redhat.com>
+
+       readtokens: this module *does* require xalloc.h
+       It uses only functions that were omitted by the old syntax-check rule.
+       * lib/readtokens.c: Include "xalloc.h" once again.
+       * modules/readtokens (Depends-on): Add xalloc.
+       This reverts part of 0e0f8f12ec241c0f1c1f21f960bb5cf908a0fa3c.
+
+2010-01-05  Eric Blake  <ebb9@byu.net>
+
+       maint: support 'make announcement' from a VPATH build
+       * top/maint.mk (announcement): Look for correct NEWS file.
+
+2010-01-05  Aurelien Jarno  <aurelien@aurel32.net>  (tiny change)
+
+       utimens (fdutimens): ignore a negative FD, per contract
+       * lib/utimens.c (fdutimens) [HAVE_FUTIMENS]: Call futimens only
+       when we have a valid file descriptor.  Otherwise, using a brand
+       new glibc (with just-patched futimens that now fails with EBADF)
+       would cause this function to fail with ENOSYS.
+       Reported by Guillaume Ayoub in http://bugs.debian.org/563726.
+       See also http://bugzilla.redhat.com/552320.
+
+2010-01-05  Eric Blake  <ebb9@byu.net>
+
+       strcase: document what it provides
+       * doc/posix-functions/strcasecmp.texi (strcasecmp): Mention the
+       gnulib module.
+       * doc/posix-functions/strncasecmp.texi (strncasecmp): Likewise.
+       Reported by Dilyan Palauzov <Dilyan.Palauzov@aegee.org>.
+
+2010-01-05  Jim Meyering  <meyering@redhat.com>
+
+       maint: remove useless inclusions of "xalloc.h"
+       * lib/getloadavg.c: Remove useless inclusion of "xalloc.h".
+       * lib/readtokens.c: Likewise.
+       * lib/same.c: Likewise.
+       * modules/getloadavg (Depends-on): Remove alloca.
+       * modules/readtokens: Likewise.
+       * modules/same: Likewise.
+
+       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