mktime.m4: remove K&R-style function prototypes
[gnulib.git] / ChangeLog
index e093c98..395fefa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,410 @@
+2009-01-15  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       mktime.m4: remove K&R-style function prototypes
+       * m4/mktime.m4 (AC_FUNC_MKTIME): Remove K&R-style function prototypes
+       for the Sun C++ compiler.
+
+2009-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint.in.h (_GL_JUST_INCLUDE_SYSTEM_WCHAR_H): New macro, defined
+       while including <wchar.h>.
+       * lib/wchar.in.h: In two particular situations on HP-UX, include only
+       the system's <wchar.h> file.
+       Reported by Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
+
+2009-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * m4/csharp.m4: Don't mention gettext on the serial number line.
+       * m4/csharpexec.m4: Likewise.
+       * m4/eaccess.m4: Likewise.
+       * m4/javaexec.m4: Likewise.
+       * m4/sig_atomic_t.m4: Likewise.
+       * m4/tmpdir.m4: Likewise.
+       * m4/intldir.m4: Bump gettext version.
+       * m4/lib-ld.m4: Likewise.
+
+2009-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * lib/progname.c (set_program_name): Add more comments.
+       Reported by Sergey Poznyakoff <gray@gnu.org.ua>.
+
+2009-01-14  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sys_stat.in.h: Include sys/types.h for nlink_t on systems
+       were sys/stat.h does not define it.
+
+2009-01-14  Jim Meyering  <meyering@redhat.com>
+
+       many *.m4 files: improve m4 quoting
+       99% of this change was performed by running the following commands:
+       git ls-files | grep '\.m4$' | xargs perl -pi \
+         -e 's/(AC_\w+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \
+         -e 's/(AC_\w+\((?:\[[^,]+?\], ){1})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
+         -e 's/(AC_\w+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
+         -e 's/(AC_\w+\((?:\[[^,]+?\], ){3})([^,[()]+?)([,)])/$1\[$2]$3/g'
+       perl -pi -e 's/\[\.\.\.\]/.../' m4/onceonly.m4
+       The remainder were to add Copyright dates, increment serial numbers,
+       undo some changes in comments, exclude m4/intl.m4, and add quotes
+       around the "1" in ",1" where the unusual spacing prohibited the
+       above regexps from doing the job.  For more details, see
+       <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/16175>.
+       * m4/acl.m4: Modified.
+       * m4/afs.m4: Likewise.
+       * m4/alloca.m4: Likewise.
+       * m4/argp.m4: Likewise.
+       * m4/argz.m4: Likewise.
+       * m4/atexit.m4: Likewise.
+       * m4/bison-i18n.m4: Likewise.
+       * m4/bison.m4: Likewise.
+       * m4/byteswap.m4: Likewise.
+       * m4/c-stack.m4: Likewise.
+       * m4/c-strtod.m4: Likewise.
+       * m4/calloc.m4: Likewise.
+       * m4/canonicalize-lgpl.m4: Likewise.
+       * m4/chown.m4: Likewise.
+       * m4/clock_time.m4: Likewise.
+       * m4/codeset.m4: Likewise.
+       * m4/copy-file.m4: Likewise.
+       * m4/csharp.m4: Likewise.
+       * m4/csharpcomp.m4: Likewise.
+       * m4/csharpexec.m4: Likewise.
+       * m4/d-ino.m4: Likewise.
+       * m4/d-type.m4: Likewise.
+       * m4/dirfd.m4: Likewise.
+       * m4/double-slash-root.m4: Likewise.
+       * m4/eaccess.m4: Likewise.
+       * m4/eealloc.m4: Likewise.
+       * m4/environ.m4: Likewise.
+       * m4/errno_h.m4: Likewise.
+       * m4/euidaccess.m4: Likewise.
+       * m4/execute.m4: Likewise.
+       * m4/fatal-signal.m4: Likewise.
+       * m4/fchdir.m4: Likewise.
+       * m4/fcntl_h.m4: Likewise.
+       * m4/fileblocks.m4: Likewise.
+       * m4/filenamecat.m4: Likewise.
+       * m4/findprog.m4: Likewise.
+       * m4/flexmember.m4: Likewise.
+       * m4/fnmatch.m4: Likewise.
+       * m4/fopen.m4: Likewise.
+       * m4/fpending.m4: Likewise.
+       * m4/fprintf-posix.m4: Likewise.
+       * m4/free.m4: Likewise.
+       * m4/frexp.m4: Likewise.
+       * m4/frexpl.m4: Likewise.
+       * m4/fsusage.m4: Likewise.
+       * m4/ftruncate.m4: Likewise.
+       * m4/gc-camellia.m4: Likewise.
+       * m4/gc-random.m4: Likewise.
+       * m4/gc.m4: Likewise.
+       * m4/getaddrinfo.m4: Likewise.
+       * m4/getcwd-abort-bug.m4: Likewise.
+       * m4/getcwd-path-max.m4: Likewise.
+       * m4/getdate.m4: Likewise.
+       * m4/getdomainname.m4: Likewise.
+       * m4/getgroups.m4: Likewise.
+       * m4/gethostname.m4: Likewise.
+       * m4/gethrxtime.m4: Likewise.
+       * m4/getline.m4: Likewise.
+       * m4/getloadavg.m4: Likewise.
+       * m4/getndelim2.m4: Likewise.
+       * m4/getpass.m4: Likewise.
+       * m4/gettext.m4: Likewise.
+       * m4/gettime.m4: Likewise.
+       * m4/gettimeofday.m4: Likewise.
+       * m4/gnulib-common.m4: Likewise.
+       * m4/group-member.m4: Likewise.
+       * m4/host-os.m4: Likewise.
+       * m4/iconv.m4: Likewise.
+       * m4/iconv_open.m4: Likewise.
+       * m4/inet_ntop.m4: Likewise.
+       * m4/inet_pton.m4: Likewise.
+       * m4/inline.m4: Likewise.
+       * m4/intldir.m4: Likewise.
+       * m4/intlmacosx.m4: Likewise.
+       * m4/intmax.m4: Likewise.
+       * m4/intmax_t.m4: Likewise.
+       * m4/inttypes.m4: Likewise.
+       * m4/inttypes_h.m4: Likewise.
+       * m4/inttypes-pri.m4: Likewise.
+       * m4/isapipe.m4: Likewise.
+       * m4/isnand.m4: Likewise.
+       * m4/isnanf.m4: Likewise.
+       * m4/isnanl.m4: Likewise.
+       * m4/javacomp.m4: Likewise.
+       * m4/javaexec.m4: Likewise.
+       * m4/jm-winsz1.m4: Likewise.
+       * m4/jm-winsz2.m4: Likewise.
+       * m4/lchown.m4: Likewise.
+       * m4/lcmessage.m4: Likewise.
+       * m4/ldexpl.m4: Likewise.
+       * m4/lib-ld.m4: Likewise.
+       * m4/lib-link.m4: Likewise.
+       * m4/libsigsegv.m4: Likewise.
+       * m4/link-follow.m4: Likewise.
+       * m4/localcharset.m4: Likewise.
+       * m4/locale-fr.m4: Likewise.
+       * m4/locale-ja.m4: Likewise.
+       * m4/locale-tr.m4: Likewise.
+       * m4/locale-zh.m4: Likewise.
+       * m4/lock.m4: Likewise.
+       * m4/longlong.m4: Likewise.
+       * m4/ls-mntd-fs.m4: Likewise.
+       * m4/lstat.m4: Likewise.
+       * m4/malloc.m4: Likewise.
+       * m4/mathl.m4: Likewise.
+       * m4/mbrtowc.m4: Likewise.
+       * m4/mbstate_t.m4: Likewise.
+       * m4/mbswidth.m4: Likewise.
+       * m4/memchr.m4: Likewise.
+       * m4/memcmp.m4: Likewise.
+       * m4/memcpy.m4: Likewise.
+       * m4/memmem.m4: Likewise.
+       * m4/memmove.m4: Likewise.
+       * m4/mempcpy.m4: Likewise.
+       * m4/memrchr.m4: Likewise.
+       * m4/memset.m4: Likewise.
+       * m4/minmax.m4: Likewise.
+       * m4/mkdir-slash.m4: Likewise.
+       * m4/mkdtemp.m4: Likewise.
+       * m4/mktime.m4: Likewise.
+       * m4/mmap-anon.m4: Likewise.
+       * m4/mountlist.m4: Likewise.
+       * m4/nanosleep.m4: Likewise.
+       * m4/nls.m4: Likewise.
+       * m4/nocrash.m4: Likewise.
+       * m4/open.m4: Likewise.
+       * m4/openat.m4: Likewise.
+       * m4/openmp.m4: Likewise.
+       * m4/pathmax.m4: Likewise.
+       * m4/perl.m4: Likewise.
+       * m4/physmem.m4: Likewise.
+       * m4/pipe.m4: Likewise.
+       * m4/po.m4: Likewise.
+       * m4/poll.m4: Likewise.
+       * m4/posixtm.m4: Likewise.
+       * m4/posixver.m4: Likewise.
+       * m4/printf-frexp.m4: Likewise.
+       * m4/printf-frexpl.m4: Likewise.
+       * m4/printf-posix.m4: Likewise.
+       * m4/printf-posix-rpl.m4: Likewise.
+       * m4/printf.m4: Likewise.
+       * m4/progtest.m4: Likewise.
+       * m4/putenv.m4: Likewise.
+       * m4/readline.m4: Likewise.
+       * m4/readlink.m4: Likewise.
+       * m4/readutmp.m4: Likewise.
+       * m4/realloc.m4: Likewise.
+       * m4/regex.m4: Likewise.
+       * m4/relocatable.m4: Likewise.
+       * m4/relocatable-lib.m4: Likewise.
+       * m4/rename-dest-slash.m4: Likewise.
+       * m4/rename.m4: Likewise.
+       * m4/rmdir-errno.m4: Likewise.
+       * m4/rmdir.m4: Likewise.
+       * m4/roundf.m4: Likewise.
+       * m4/roundl.m4: Likewise.
+       * m4/rpmatch.m4: Likewise.
+       * m4/save-cwd.m4: Likewise.
+       * m4/selinux-selinux-h.m4: Likewise.
+       * m4/setenv.m4: Likewise.
+       * m4/settime.m4: Likewise.
+       * m4/sig2str.m4: Likewise.
+       * m4/sig_atomic_t.m4: Likewise.
+       * m4/signalblocking.m4: Likewise.
+       * m4/signbit.m4: Likewise.
+       * m4/sigpipe.m4: Likewise.
+       * m4/sockets.m4: Likewise.
+       * m4/sockpfaf.m4: Likewise.
+       * m4/st_dm_mode.m4: Likewise.
+       * m4/stat-time.m4: Likewise.
+       * m4/stdbool.m4: Likewise.
+       * m4/stdint.m4: Likewise.
+       * m4/stdint_h.m4: Likewise.
+       * m4/stpcpy.m4: Likewise.
+       * m4/stpncpy.m4: Likewise.
+       * m4/strcase.m4: Likewise.
+       * m4/strchrnul.m4: Likewise.
+       * m4/strcspn.m4: Likewise.
+       * m4/strdup.m4: Likewise.
+       * m4/strftime.m4: Likewise.
+       * m4/strndup.m4: Likewise.
+       * m4/strnlen.m4: Likewise.
+       * m4/strpbrk.m4: Likewise.
+       * m4/strptime.m4: Likewise.
+       * m4/strsep.m4: Likewise.
+       * m4/strtod.m4: Likewise.
+       * m4/strtoimax.m4: Likewise.
+       * m4/strtok_r.m4: Likewise.
+       * m4/strtol.m4: Likewise.
+       * m4/strtoll.m4: Likewise.
+       * m4/strtoul.m4: Likewise.
+       * m4/strtoull.m4: Likewise.
+       * m4/strtoumax.m4: Likewise.
+       * m4/strverscmp.m4: Likewise.
+       * m4/threadlib.m4: Likewise.
+       * m4/timegm.m4: Likewise.
+       * m4/tm_gmtoff.m4: Likewise.
+       * m4/tmpdir.m4: Likewise.
+       * m4/tmpfile.m4: Likewise.
+       * m4/tzset.m4: Likewise.
+       * m4/uintmax_t.m4: Likewise.
+       * m4/unlinkdir.m4: Likewise.
+       * m4/unlocked-io.m4: Likewise.
+       * m4/uptime.m4: Likewise.
+       * m4/userspec.m4: Likewise.
+       * m4/utimbuf.m4: Likewise.
+       * m4/utime.m4: Likewise.
+       * m4/utimes-null.m4: Likewise.
+       * m4/utimes.m4: Likewise.
+       * m4/vararrays.m4: Likewise.
+       * m4/vasnprintf.m4: Likewise.
+       * m4/vfprintf-posix.m4: Likewise.
+       * m4/vprintf-posix.m4: Likewise.
+       * m4/wait-process.m4: Likewise.
+       * m4/wchar_t.m4: Likewise.
+       * m4/wint_t.m4: Likewise.
+       * m4/write-any-file.m4: Likewise.
+       * m4/yield.m4: Likewise.
+
+2009-01-13  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test-copy-file.sh failures when ACL support insufficient.
+       * modules/copy-file-tests (Makefile.am): Pass USE_ACL in
+       TESTS_ENVIRONMENT.
+       * tests/test-copy-file.sh: Skip the ACL comparisons if USE_ACL is 0.
+       Reported by Jim Meyering.
+
+2009-01-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistdio/u-printf-args (Files): Add m4/stdint_h.m4 and
+       m4/inttypes_h.m4, needed by m4/intmax_t.m4.
+       * modules/unistdio/u8-printf-parse (Files): Likewise.
+       * modules/unistdio/u32-printf-parse (Files): Likewise.
+       * modules/unistdio/ulc-printf-parse (Files): Likewise.
+
+2009-01-13  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/unistdio/u16-printf-parse (Files): Add m4/stdint_h.m4
+       and m4/inttypes_h.m4 too.
+
+2009-01-12  Eric Blake  <ebb9@byu.net>
+
+       tests: IRIX 6.2 cc can't compile -0.0 into .data
+       * tests/test-ceill.c (minus_zero): Compute -0.0L at runtime,
+       rather than at compile-time.
+       * tests/test-floorl.c (minus_zero): Likewise.
+       * tests/test-frexpl.c (minus_zero): Likewise.
+       * tests/test-isnan.c (minus_zerol): Likewise.
+       * tests/test-isnanl.h (minus_zero): Likewise.
+       * tests/test-ldexpl.c (minus_zero): Likewise.
+       * tests/test-roundl.c (minus_zero): Likewise.
+       * tests/test-signbit.c (minus_zerol): Likewise.
+       * tests/test-snprintf-posix.h (minus_zerol): Likewise.
+       * tests/test-sprintf-posix.h (minus_zerol): Likewise.
+       * tests/test-truncl.c (minus_zero): Likewise.
+       * tests/test-vasnprintf-posix.c (minus_zerol): Likewise.
+       * tests/test-vasprintf-posix.c (minus_zerol): Likewise.
+       Reported by Tom G. Christensen and Nelson H. F. Beebe.
+
+2009-01-09  Paolo Bonzini  <bonzini@gnu.org>
+
+       regex: fix glibc bug 9697
+       * lib/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
+       handling.
+
+2009-01-09  Paolo Bonzini  <bonzini@gnu.org>
+
+       regex: fix glibc bug 697
+       * lib/regexec.c (prune_impossible_nodes): Handle sifted_states[0]
+       being NULL also if there are no backreferences.
+
+2009-01-09  Paolo Bonzini  <bonzini@gnu.org>
+
+       regex: merge glibc changes
+       * lib/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc.
+       * lib/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer,
+       re_string_skip_chars, re_string_reconstruct): Likewise.
+       * lib/regex_internal.h [!_LIBC] (__mbrtowc): New #define.
+
+2009-01-07  Jim Meyering  <meyering@redhat.com>
+
+       poll: filter through cppi
+       * lib/poll.c: Indent cpp directives to reflect nesting.
+
+2009-01-07  Daniel P. Berrange  <berrange@redhat.com>
+
+       poll: don't return uninitialized
+       * lib/poll.c (poll) [WIN32_NATIVE]: Initialize "rc".
+
+2009-01-06  Jeremy Olexa <darkside@gentoo.org>  (tiny change)
+
+       avoid compile failure on AIX 6.1
+       * lib/getloadavg.c [HAVE_LIBPERFSTAT]: Include <sys/protosw.h>.
+       Details in http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/15465
+
+2009-01-04  Jim Meyering  <meyering@redhat.com>
+
+       remove duplicate inclusion of <stdio.h>
+       * tests/test-fprintf-posix.c: Likewise.
+       * tests/test-printf-posix.c: Likewise.
+       * tests/test-snprintf-posix.c: Likewise.
+       * tests/test-sprintf-posix.c: Likewise.
+       * tests/test-vasprintf-posix.c: Likewise.
+       * tests/test-vfprintf-posix.c: Likewise.
+       * tests/test-vprintf-posix.c: Likewise.
+       * tests/test-vsnprintf-posix.c: Likewise.
+       * tests/test-vsprintf-posix.c: Likewise.
+
+2009-01-03  Jim Meyering  <meyering@redhat.com>
+
+       gnulib-tool: fix sed-based filtering
+       * gnulib-tool (func_filter_filelist): Remove extra backslash
+       in sed_fff_filter definition.
+
+2009-01-02  Jim Meyering  <meyering@redhat.com>
+
+       strftime: avoid compilation failure on Solaris 2.6
+       * modules/strftime (Depends-on): Add mbrlen and mbsinit.
+       * lib/strftime.c [DO_MULTIBYTE]: Include <wchar.h> unconditionally.
+       Don't #define mbrlen or mbsinit, since now they're guaranteed to
+       be available.  Reported by Tom G. Christensen.  Details in
+       <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/16180>.
+
+2009-01-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+           Bruno Haible  <bruno@clisp.org>
+
+       Speed up gnulib-tool by doing more string processing through shell
+       built-ins.
+       * gnulib-tool (fast_func_append): New variable.
+       (func_remove_prefix, func_remove_suffix): New functions.
+       (fast_func_remove_prefix, fast_func_remove_suffix): New variables.
+       (func_filter_filelist): New function.
+       (func_get_dependencies): Use func_remove_suffix instead of sed.
+       (func_get_automake_snippet): Use func_filter_filelist instead of a
+       subshell and sed invocation.
+
+2009-01-01  Bruno Haible  <bruno@clisp.org>
+
+       Fix a security bug.
+       * gnulib-tool (func_import, import, update): Don't allow the characters
+       '"', '$', '`', '\' in macro arguments that become part of commands that
+       are evaluated.
+
+2009-01-01  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_reset_sigpipe): Add more comments.
+
+2009-01-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_modules_add_dummy, func_emit_lib_Makefile_am,
+       func_emit_tests_Makefile_am, func_import): Abort loops early if we
+       already know the answer.
+
+2009-01-01  Jim Meyering  <meyering@redhat.com>
+
+       * lib/version-etc.c (version_etc_va): Update copyright year.
+
 2008-12-30  Bruno Haible  <bruno@clisp.org>
 
        * m4/lib-prefix.m4 (AC_LIB_LINKFLAGS_BODY): Don't overwrite
        coding: utf-8
        End:
 
-       Copyright (C) 1997-2008 Free Software Foundation, Inc.
+       Copyright (C) 1997-2009 Free Software Foundation, Inc.
 
        Copying and distribution of this file, with or without
        modification, are permitted provided the copyright notice