* modules/savewd (Depends-on): Fix dependency on fcntl.
[gnulib.git] / ChangeLog
index e1c6dcf..385d178 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,197 @@
+2006-12-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/savewd (Depends-on): Fix dependency on fcntl.
+
+2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/stdint.m4 (gl_STDINT_H): Set STDINT_H to empty if stdint.h
+       conforms to C99, rather than relying on the user's environment
+       setting of STDINT_H.
+
+2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
+       and Eric Blake  <ebb9@byu.net>
+
+       * lib/dirname.h (DOUBLE_SLASH_IS_DISTINCT_ROOT): Default to 0, not 1.
+       This is more consistent with the other defines here.
+       * m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT):
+       Port to z/OS.  Problem reported by Paul Gilmartin.
+       Change local vars to use gl_ prefix rather than ac_.
+       Don't define DOUBLE_SLASH_IS_DISTINCT_ROOT to 0, for consistency
+       with other defines.
+       * modules/double-slash-root: New module.
+       * modules/dirname (Files): Remove m4/double-slash-root.m4.
+       (Depends-on): Add double-slash-root.
+       * MODULES.html.sh (File system functions): Mention new module.
+
+2006-12-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/yesno.c [!ENABLE_NLS]: Don't include getline.h.
+       (yesno) [!ENABLE_NLS]: Don't invoke getline or rpmatch.
+       This is for the benefit of gzip, which doesn't do i18n.
+
+2006-12-12  Jim Meyering  <jim@meyering.net>
+
+       * m4/acl.m4 (gl_ACL_GET_FILE): Fix logic error.
+       Reported by Andreas Schwab <schwab@suse.de>.
+
+2006-12-12  Bruno Haible  <bruno@clisp.org>
+
+       Merge these changes.
+       2006-09-05  Bruno Haible  <bruno@clisp.org>
+       * lib/iconvme.c (iconv_string): No need to save and restore errno when
+       iconv_alloc succeeded.
+       (iconv_alloc): Don't assume that malloc() or realloc(), when failing,
+       sets errno to ENOMEM. (malloc on GNU/kFreeBSD doesn't.) No need to
+       test for " && dest " at the end - dest is always != NULL there. Call
+       iconv with 4xNULL arguments initially, to reset the state. Call iconv
+       with 2xNULL arguments, also to flush the state storage. Handle the
+       IRIX iconv behaviour. Realloc the final result, to throw away unused
+       memory.
+
+2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/openat.m4 (gl_FUNC_OPENAT): Don't compile mkdirat
+       and fchmodat unconditionally, since glibc 2.4 has them.
+       Problem reported by Arkadiusz Miskiewicz.
+
+2006-12-10  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Show the include files only for those
+       modules that are copied and specified.
+       Reported by Karl Berry.
+
+2006-12-08  Jim Meyering  <jim@meyering.net>
+
+       * build-aux/announce-gen ($VERSION): Don't use of $Revision...$.
+       Instead, use Emacs' time-stamp write hook.  Note that the time is UTC.
+
+       * build-aux/announce-gen: Add two new options, both optional:
+       --bootstrap-tools=TOOL_LIST
+             a comma-separated list of tools, e.g.,
+             autoconf,automake,bison,gnulib
+       --gnulib-snapshot-date=DATE
+             if gnulib is in the bootstrap tool list,
+             then report this as the snapshot date.
+             If not specified, use the current date/time.
+             If you specify a date here, be sure it's UTC.
+
+2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * tests/test-argp-2.sh: Fix test to match actual output.
+       (func_compare): Fix sed script to be portable.
+
+2006-12-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/utimens.c (futimens) [HAVE_BUGGY_NFS_TIME_STAMPS]: Add a
+       workaround for this case.  It is not autoconfigured now; offhand
+       it's hard to see how to autoconfigure it.
+
+2006-12-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/mkdir-p.c (make_dir_parents): Fix race condition when making
+       a directory that is about to be chowned.  Such a directory's
+       initial file permissions should permit the owner only and this
+       should not be changed until after the chown, since the group and
+       other bits would be incorrect if they granted permission before
+       the chown.
+
+       Fix porting problem for iswctype reported by Georg Schwarz in:
+       http://lists.gnu.org/archive/html/bug-coreutils/2006-12/msg00017.html
+       * lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
+       * lib/regex_internal.h (RE_ENABLE_I18N): Likewise.
+       * m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for iswctype, too.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
+
+2006-12-03  Jim Meyering  <jim@meyering.net>
+
+       * lib/fts.c (fts_load): Don't set sp->fts_dev here, since
+       p->fts_statp may not yet be defined.
+       (fts_read): Instead, set it in the caller, once p->fts_statp is
+       sure to be defined, and corresponds to a top-level directory.
+       This bug made du -x fail.  Here's the coreutils test case:
+       http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=ba45154d8e9f
+       Reported by Mike Frysinger.
+
+2006-12-01  Jim Meyering  <jim@meyering.net>
+
+       * modules/savewd (Depends-on): Add fcntl_h to avoid self-test
+       build failure due to missing definition of HAVE_WORKING_O_NOFOLLOW.
+       Reported by Simon Josefsson.
+
+2006-11-30  Jim Meyering  <jim@meyering.net>
+
+       * m4/warning.m4: Use the all-permissive copyright notice
+       recommended by RMS (rather than LGPL).
+       * m4/vararrays.m4: Likewise.
+       * m4/flexmember.m4: Likewise.
+
+2006-11-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Initialize also
+       noinst_LIBRARIES. Augment noinst_LIBRARIES and noinst_LTLIBRARIES
+       using +=.
+       Reported by Simon Josefsson <simon@josefsson.org>.
+
+2006-11-28  James Youngman <jay@gnu.org>
+
+       * README: Advise users that they might find the bug-gnulib@gnu.org
+       and autotools-announce@gnu.org mailing lists useful.
+
+2006-11-28  Bruno Haible  <bruno@clisp.org>
+
+       * m4/ptrdiff_max.m4: Remove file.
+
+2006-11-21  Bruno Haible  <bruno@clisp.org>
+
+       * m4/eoverflow.m4 (gl_EOVERFLOW): Use AC_COMPUTE_INT instead of
+       _AC_COMPUTE_INT.
+       (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
+       * m4/ptrdiff_max.m4 (gl_PTRDIFF_MAX): Use AC_COMPUTE_INT instead of
+       _AC_COMPUTE_INT.
+       (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
+       * m4/size_max.m4 (gl_SIZE_MAX): Use AC_COMPUTE_INT instead of
+       _AC_COMPUTE_INT.
+       (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
+
+2006-11-28  Jim Meyering  <jim@meyering.net>
+
+       * lib/regcomp.c (parse_branch): Rename local, exp->expr, to avoid
+       warning from "gcc -Wshadow" about shadowing the builtin.
+
+2006-11-27  Bruno Haible  <bruno@clisp.org>
+
+       * m4/stdint.m4 (gl_STDINT_BITSIZEOF): Use AC_COMPUTE_INT instead of
+       _AC_COMPUTE_INT.
+       (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
+
+2006-11-27  Bruno Haible  <bruno@clisp.org>
+           Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/regex.h (__restrict_arr): Redo logic of #if, for clarity.
+
+2006-11-26  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Initialize also
+       noinst_LTLIBRARIES.
+
+2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to 0
+       if compiling with "gcc -ansi".
+
+2006-11-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix some incompatibilities with gcc -ansi -pedantic.
+       * lib/regex.h (__restrict_arr): Don't use the [restrict] syntax
+       if compiling pedantically with GCC, unless it's C99 or later.
+       Don't trust sys/cdefs.h's definition of __restrict_arr, either, as
+       it mishandles gcc -ansi -pedantic as well.
+       * lib/regex_internal.h (re_token_t): Don't use enum bitfields
+       if gcc -pedantic.
+       * lib/regexec.c (check_node_accept_bytes): Don't use auto
+       initializers for struct if -pedantic, unless it's C99 or later.
+
 2006-11-25  Nix  <nix@esperi.org.uk>  (tiny change)
 
        * m4/fcntl_h.m4 (gl_FCNTL_H): Test the atime, not the mtime.