autoupdate
[gnulib.git] / ChangeLog
index 81b3a25..e845591 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,392 @@
+2009-06-04  Jim Meyering  <meyering@redhat.com>
+
+       gitlog-to-changelog: don't infloop on an empty commit log
+       * build-aux/gitlog-to-changelog: Warn about an empty log message.
+       Reported by Boris Petersen <transacid@centerim.org>.
+
+2009-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       version-etc: extend for packagers
+       Add three new configure options, intended for packagers:
+         --with-packager="packager name"
+         --with-packager-version="packager-specific version"
+         --with-packager-bug-reports="packager bug reporting"
+       An example with coreutils:
+         $ ./configure \
+           --with-packager=Gentoo \
+           --with-packager-bug-report=http://bugs.gentoo.org/ \
+           --with-packager-version="patchset 1.6"
+         $ ./src/ls --version | head -n3
+         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:
+         $ ./src/ls --help | tail -n4
+         Report bugs to <bug-coreutils@gnu.org>.
+         Report Gentoo bugs to <http://bugs.gentoo.org/>.
+         GNU coreutils home page: <http://www.gnu.org/software/coreutils/>.
+         General help using GNU software: <http://www.gnu.org/gethelp/>.
+       * lib/version-etc.c: Print new information, if provided.
+       * m4/version-etc.m4: New file.
+       * modules/version-etc (Files): Add m4/version-etc.m4.
+       (configure.ac): Add gl_VERSION_ETC.
+
+2009-05-31  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-alignof.c: Include <stdint.h>. Check also 'long double'
+       and 'int64_t'.
+       * modules/alignof-tests (Dependencies): Add stdint.
+       Reported by Eric Blake.
+
+2009-05-31  Bruno Haible  <bruno@clisp.org>
+
+       * lib/alignof.h (alignof_slot, alignof_type, alignof): Document
+       restriction due to compiler bugs.
+       Reported by Eric Blake.
+
+2009-05-31  Simon Josefsson  <simon@josefsson.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       Fix test-alignof failure.
+       * lib/alignof.h (alignof_slot): New macro.
+       (alignof_type): New macro, with the same semantics as the previous
+       'alignof'.
+       (alignof): Alias to alignof_slot.
+       * tests/test-alignof.c (CHECK): Check alignof_slot, not alignof. Also
+       check that the results are usable as constant expressions.
+
+2009-05-31  Bruno Haible  <bruno@clisp.org>
+
+       * tests/zerosize-ptr.h (zerosize_ptr): Specify more details.
+       * tests/test-memchr.c (main): Check that memchr does not read past the
+       first occurrence of the byte.
+       * tests/test-strstr.c (main): Update comment.
+       Suggested by Eric Blake.
+
+2009-05-30  Bruno Haible  <bruno@clisp.org>
+
+       * doc/ld-output-def.texi (Visual Studio Compatibility): Explain in more
+       detail how to use dumpbin.
+       Reported by David Byron <dbyron@dbyron.com>.
+
+2009-06-02  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-parse-duration.sh: Don't use non-portable 'read -u3'.
+
+2009-06-02  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/manywarnings.m4: Add GCC 4.4 warnings.
+
+2009-05-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Don't do HAVE_CONFIG_H replacements on
+       build-aux/ files.
+
+2009-05-28  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_import): Transform license on build-aux/ files too.
+
+2009-05-27  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (sed_transform_main_lib_file)
+       (sed_transform_testsrelated_lib_file): : Don't use non-POSIX
+       regexps.
+
+2009-05-26  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-strstr.c: Add another self-test.
+       * tests/test-strstr.c: Rewrite to use malloc/strcpy instead of
+       strdup.  Suggested by Eric Blake  <ebb9@byu.net>.
+
+2009-05-23  Bruno Haible  <bruno@clisp.org>
+
+       * doc/havelib.texi (AC_LIB_HAVE_LINKFLAGS): Update for 2009-04-26
+       change.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       Simplify use of mode_t varargs.
+       * lib/open.c (open): Use PROMOTED_MODE_T instead of a conditional that
+       uses 'mode_t' or 'int'.
+       * lib/openat.c (openat): Likewise.
+       * lib/open-safer.c (open_safer): Likewise.
+       * m4/mode_t.m4: New file.
+       * m4/open.m4 (gl_PREREQ_OPEN): Require gl_PROMOTED_TYPE_MODE_T.
+       * m4/openat.m4 (gl_PREREQ_OPENAT): Likewise.
+       * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Likewise.
+       * modules/open (Files): Add m4/mode_t.m4.
+       * modules/openat (Files): Likewise.
+       * modules/fcntl-safer (Files): Likewise.
+       Suggested by Eric Blake.
+
+2009-05-21  Pádraig Brady  <P@draigbrady.com>
+
+       * doc/glibc-functions/fallocate.texi: New file.
+       * doc/gnulib.texi: Include it.
+
+2009-05-21  Eric Blake  <ebb9@byu.net>
+            Bruno Haible  <bruno@clisp.org>
+
+       * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Remove redundant m4_quote
+       invocations.
+       * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise.
+
+2009-05-21  Eric Blake  <ebb9@byu.net>
+            Bruno Haible  <bruno@clisp.org>
+
+       Second attempt to work around an AIX 5.3, 6.1 compiler bug with
+       include_next. Fix of 2008-11-20 commit.
+       * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Also set
+       NEXT_AS_FIRST_DIRECTIVE_FOO_H.
+       * lib/math.in.h: Use NEXT_AS_FIRST_DIRECTIVE_MATH_H instead of
+       NEXT_MATH_H.
+       * modules/math (Makefile.am): Substitute NEXT_AS_FIRST_DIRECTIVE_MATH_H
+       instead of NEXT_MATH_H.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       Avoid redefinition warnings for SIZE_MAX.
+       * m4/size_max.m4 (gl_SIZE_MAX): Avoid redefining SIZE_MAX in config.h.
+       Reported by Simon Josefsson.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       * m4/size_max.m4 (gl_SIZE_MAX): Use AC_CACHE_CHECK instead of
+       AC_CACHE_VAL.
+
+2009-05-20  Bruno Haible  <bruno@clisp.org>
+
+       Make zeroptr.h work on mingw.
+       * tests/zerosize-ptr.h: Test for the presence of <sys/mman.h> and
+       mprotect.
+       * modules/memchr-tests (configure.ac): Also test for sys/mman.h.
+       * modules/memchr2-tests (configure.ac): Likewise.
+       * modules/memcmp-tests (configure.ac): Likewise.
+       * modules/memmem-tests (configure.ac): Likewise.
+       * modules/memrchr-tests (configure.ac): Likewise.
+       Reported by Simon Josefsson.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-glob.c: Include string.h for strcmp prototype.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/getdelim (Depends-on): Add explicit stdint, although it
+       was implicitly already pulled in via realloc-posix.
+       * lib/getdelim.c: Get SIZE_MAX from stdint.h.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       MinGW and IRIX does not have sa_family_t type.  Reported by "Tom
+       G. Christensen" <tgc@jupiterrise.com>.
+       * m4/sys_socket_h.m4: Check for sa_family_t.
+       * lib/sys_socket.in.h: Typedef sa_family_t when needed.
+       * modules/sys_socket: Substitute HAVE_SA_FAMILY_T.
+       * tests/test-sys_socket.c: Check that sa_family_t works.
+
+2009-05-18  Eric Blake  <ebb9@byu.net>
+
+       maint.mk: allow gnulib_dir in VPATH build
+       * top/maint.mk (gnulib_dir): Make relative to $(srcdir).
+
+2009-05-15  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: Give gnulib_dir a default definition.
+       * top/maint.mk (gnulib_dir): Define to 'gnulib', by default.
+       Thus, most packages no longer need to specify this variable in cfg.mk
+
+2009-05-14  Tom Prince  <tom.prince@ualberta.net>  (tiny change)
+
+       rename.m4: fix typos that would make non-mingw cross-configure fail
+       * m4/rename.m4 (gl_FUNC_RENAME): Fix typos.
+
+2009-05-13  Eric Blake  <ebb9@byu.net>
+
+       mmap-anon: avoid out-of-order autoconf expansion
+       * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Use correct
+       SYSTEM_EXTENSIONS macro to silence warnings from autoconf 2.63b.
+       * modules/memchr-tests (Depends-on): Add extensions.
+       * modules/memchr2-tests (Depends-on): Add extensions.
+       * modules/memcmp-tests (Depends-on): Add extensions.
+       * modules/memmem-tests (Depends-on): Add extensions.
+       * modules/memrchr-tests (Depends-on): Add extensions.
+
+2009-05-13  Bruno Haible  <bruno@clisp.org>
+
+       Make some tests ISO C 99 compliant.
+       * tests/zerosize-ptr.h: New file.
+       * tests/test-memchr.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * tests/test-memchr2.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * tests/test-memcmp.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * tests/test-memmem.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * tests/test-memrchr.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * modules/memchr-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+       * modules/memchr2-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+       * modules/memcmp-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+       * modules/memmem-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+       * modules/memrchr-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+
+2009-05-12  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'alignof'.
+       * modules/alignof-tests: New file.
+       * tests/test-alignof.c: New file.
+
+2009-05-12  Bruno Haible  <bruno@clisp.org>
+
+       Fix alignof macro.
+       * lib/alignof.h (alignof): Remove special cases for AIX and HP-UX
+       vendor compilers that are always correct.
+
+2009-05-12  Bruno Haible  <bruno@clisp.org>
+
+       Make the MAP_ANONYMOUS detection work on HP-UX 11.
+       * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check whether mmap exists, but
+       not whether its fully works.
+
+2009-05-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Add comments.
+
+2009-05-12  Jim Meyering  <meyering@redhat.com>
+
+       * top/maint.mk: Adjust backslash alignment.
+
+2009-05-11  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk: Make $(srcdir)/build-aux configurable.
+
+2009-05-11  Eric Blake  <ebb9@byu.net>
+
+       argp: avoid undefined behavior
+       * lib/argp-fmtstream.c (weak_alias): Pass correct types to ctype
+       macros.
+
+2009-05-08  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-vc-list-files-git.sh: Do git config of user.email and
+       user.name to prevent git commit from complaining.
+
+2009-05-10  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import, func_create_testdir, copy-file): Change
+       sed_rewrite_old_files, sed_rewrite_new_files, sed_rewrite_files so that
+       it rewrites every file name only once.
+       Reported by Simon Josefsson. Helped by Ralf Wildenhues.
+
+2009-05-08  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sys_socket.in.h (_SS_PADSIZE): Use a conditional expression
+       instead of 'max'.
+
+2009-05-08  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/sys_socket_h.m4: Test for ws2tcpip.h earlier, needed for
+       sockaddr_storage test.
+
+2009-05-07  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/sys_socket (Makefile.am): Substitute
+       HAVE_STRUCT_SOCKADDR_STORAGE.  Depend on alignof.
+       * m4/sys_socket_h.m4: Check for sockaddr_storage.
+       * lib/sys_socket.in.h (sockaddr_storage): Define when needed.
+       * tests/test-sys_socket.c: Check sockaddr_storage.
+
+2009-05-08  Bruno Haible  <bruno@clisp.org>
+
+       New module 'alignof'.
+       * lib/alignof.h: New file.
+       * modules/alignof: New file.
+
+2009-05-04  David Bartley  <dtbartle@csclub.uwaterloo.ca>
+           Bruno Haible  <bruno@clisp.org>
+
+       Fix test-file-has-acl on FreeBSD.
+       * tests/test-file-has-acl.sh: Also test a directory. On FreeBSD, the
+       mask is implicitly added.
+       * tests/test-file-has-acl.c: Include <signal.h>.
+       (main): Terminate the test after 5 seconds.
+       * modules/acl-tests (configure.ac): Check for alarm function.
+
+2009-05-04  Bruno Haible  <bruno@clisp.org>
+
+       Exploit new semantics of AC_DEFUN_ONCE available since 2009-01-26.
+       * m4/errno_h.m4 (gl_HEADER_ERRNO_H): Remove outdated comment.
+       * modules/errno (configure.ac): Drop AC_REQUIRE.
+       * m4/multiarch.m4 (gl_MULTIARCH): Remove outdated comment.
+       * modules/multiarch (configure.ac): Drop AC_REQUIRE.
+
+2009-05-04  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/glob-tests: New module.
+       * tests/test-glob.c: Add.
+
+2009-05-04  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/fnmatch-tests: New module.
+       * tests/test-fnmatch.c: Add.
+
+2009-05-04  Eric Blake  <ebb9@byu.net>
+
+       maint: make the new no-submodule-changes rule VPATH-safe
+       * top/maint.mk (no-submodule-changes): Don't assume a srcdir build.
+
+2009-05-04  David Bartley  <dtbartle@csclub.uwaterloo.ca>
+           Bruno Haible  <bruno@clisp.org>
+
+       acl: Fix infinite loop on FreeBSD.
+       * lib/acl_entries.c (acl_entries) [Linux, FreeBSD]: Fix interpretation
+       of return value from acl_get_entry.
+       * lib/file-has-acl.c (acl_access_nontrivial) [Linux, FreeBSD]:
+       Likewise.
+
+2009-05-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/acl-internal.h (acl_entries): Clarify return value.
+       * lib/acl_entries.c (acl_entries): Likewise.
+
+2009-05-04  David Bartley  <dtbartle@csclub.uwaterloo.ca>
+
+       Bug fix in acl module.
+       * lib/set-mode-acl.c: Use correct struct with ACL_SETACL.
+
+2009-05-03  Bruno Haible  <bruno@clisp.org>
+
+       Create gperf-generated file in the source dir, not in the build dir.
+       * modules/iconv_open (iconv_open-aix.h, iconv_open-hpux.h,
+       iconv_open-irix.h, iconv_open-osf.h): Create file in the source tree.
+       * modules/unicase/locale-language (unicase/locale-languages.h):
+       Likewise.
+       * modules/unicase/special-casing (unicase/special-casing-table.h):
+       Likewise.
+       * modules/unictype/property-byname (unictype/pr_byname.h): Likewise.
+       * modules/unictype/scripts (unictype/scripts_byname.h): Likewise.
+       * modules/uninorm/composition (uninorm/composition-table.h): Likewise.
+       Reported by Ralf Wildenhues.
+
 2009-05-03  Bruno Haible  <bruno@clisp.org>
 
        * modules/fnmatch (Description, configure.ac): Taken from
        * tests/test-priv-set.c: New file.
 
 2009-05-03  Jim Meyering  <meyering@redhat.com>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * lib/propername.c (proper_name_utf8): Ignore no-op translations;
        use the converted UTF-8 variant of the name instead.