mktime.m4: remove K&R-style function prototypes
[gnulib.git] / ChangeLog
index e610de6..395fefa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+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
+       LIB${NAME}_PREFIX when considering the dependencies of lib${name}.
+       Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
+
+2008-12-29  Eric Blake  <ebb9@byu.net>
+
+       multiarch: avoid autoconf AC_REQUIRE bug
+       * m4/multiarch.m4 (gl_MULTIARCH): Split body...
+       (gl_MULTIARCH_BODY): ...into new macro, to work around bug in Autoconf
+       2.63 and older.
+       Reported by Bruno Haible, and analyzed in
+       http://lists.gnu.org/archive/html/bug-autoconf/2008-12/msg00039.html
+
+2008-12-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): When generating sed-ignore-removed, handle
+       files in subdirectories correctly.
+       Reported by Ralf Wildenhues.
+
+2008-12-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_update_ignorelist): Use 'join - FILE'
+       rather than 'join FILE -', for Solaris join.
+
+2008-12-29  Bruno Haible  <bruno@clisp.org>
+
+       * m4/codeset.m4 (AM_LANGINFO_CODESET): More systematic m4 argument
+       quoting.
+       * m4/gettext.m4 (AM_GNU_GETTEXT): Likewise.
+       * m4/glibc2.m4 (gt_GLIBC2): Likewise.
+       * m4/glibc21.m4 (gl_GLIBC21): Likewise.
+       * m4/iconv.m4 (AM_ICONV_LINK, AM_ICONV): Likewise.
+       * m4/intdiv0.m4 (gt_INTDIV0): Likewise.
+       * m4/intlmacosx.m4 (gt_INTL_MACOSX): Likewise.
+       * m4/intmax.m4 (gt_TYPE_INTMAX_T): Likewise.
+       * m4/inttypes-pri.m4 (gt_INTTYPES_PRI): Likewise.
+       * m4/inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
+       * m4/lcmessage.m4 (gt_LC_MESSAGES): Likewise.
+       * m4/nls.m4 (AM_NLS): Likewise.
+       * m4/po.m4 (AM_PO_SUBDIRS): Likewise.
+       * m4/printf-posix.m4 (gt_PRINTF_POSIX): Likewise.
+       * m4/progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
+       * m4/size_max.m4 (gl_SIZE_MAX): Likewise.
+       * m4/stdint_h.m4 (gl_AC_HEADER_STDINT_H): Likewise.
+       * m4/threadlib.m4 (gl_THREADLIB_BODY): Likewise.
+       * m4/uintmax_t.m4 (gl_AC_TYPE_UINTMAX_T): Likewise.
+       * m4/visibility.m4 (gl_VISIBILITY): Likewise.
+       * m4/wchar_t.m4 (gt_TYPE_WCHAR_T): Likewise.
+       * m4/wint_t.m4 (gt_TYPE_WINT_T): Likewise.
+       * m4/xsize.m4 (gl_XSIZE): Likewise.
+       Suggested by Jim Meyering.
+
+2008-11-17  Bruce Korb  <bkorb@gnu.org>
+
+       * lib/parse-duration.h: non-iso form accepts years, months weeks, too
+       * lib/parse-duration.c: use a switch instead of cascading if's.
+
+2008-12-29  Eric Blake  <ebb9@byu.net>
+
+       wchar.h: supply WEOF on Irix 5.3
+       * lib/wchar.in.h (wint_t): Also supply WEOF.
+       * lib/wctype.in.h (wint_t): Likewise.
+       * doc/posix-headers/wchar.texi (wchar.h): Document the bug.
+       * doc/posix-headers/wctype.texi (wctype.h): Likewise.
+       Reported by Tom G. Christensen.
+
+2008-12-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/multiarch.m4 (gl_MULTIARCH): Recognize also the architecture names
+       i486, i586, i686.
+
+2008-12-26  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdlib.in.h (struct random_data): Fix indentation of comments.
+
+2008-12-26  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint.in.h: Move the include of <wchar.h> down until after all
+       the types are defined. Also conditionalize it on __STDC_LIMIT_MACROS,
+       not __STDC_CONSTANT_MACROS.
+       Reported by Nelson H. F. Beebe <beebe@math.utah.edu> via Eric Blake.
+
+2008-12-25  Bruno Haible  <bruno@clisp.org>
+
+       Add support for universal builds to vasnprintf.
+       * m4/printf.m4 (gl_PRINTF_ENOMEM): Require gl_MULTIARCH. In Apple
+       universal builds, guess no.
+       * modules/vasnprintf-posix (Depends-on): Add multiarch.
+       * modules/vasprintf-posix (Depends-on): Likewise.
+       * modules/fprintf-posix (Depends-on): Likewise.
+       * modules/vfprintf-posix (Depends-on): Likewise.
+       * modules/snprintf-posix (Depends-on): Likewise.
+       * modules/vsnprintf-posix (Depends-on): Likewise.
+       * modules/sprintf-posix (Depends-on): Likewise.
+       * modules/vsprintf-posix (Depends-on): Likewise.
+       * modules/unistdio/u8-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u16-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u32-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise.
+
+       Add support for universal builds to <inttypes.h>.
+       * lib/inttypes.in.h (_PRI64_PREFIX, _PRIu64_PREFIX, _SCN64_PREFIX,
+       _SCNu64_PREFIX): In Apple
+       universal builds, define directly, using _LP64.
+       * m4/inttypes.m4 (gl_INTTYPES_H): In Apple universal builds, set
+       INT64_MAX_EQ_LONG_MAX and UINT64_MAX_EQ_ULONG_MAX to -1.
+       * modules/inttypes (Depends-on): Add multiarch.
+       (Makefile.am): Substitute APPLE_UNIVERSAL_BUILD.
+
+       Add support for universal builds to <stdint.h>.
+       * lib/stdint.in.h (PDFDIFF_MIN, PTRDIFF_MAX, SIZE_MAX): In Apple
+       universal builds, define directly, using _LP64.
+       * m4/stdint.m4 (gl_STDINT_TYPE_PROPERTIES): Require gl_MULTIARCH. In
+       Apple universal builds, don't test for the size and suffix of ptrdiff_t
+       and size_t.
+       * modules/stdint (Depends-on): Add multiarch.
+       (Makefile.am): Substitute APPLE_UNIVERSAL_BUILD.
+
+       New module 'multiarch'.
+       * modules/multiarch: New file.
+       * m4/multiarch.m4: New file.
+
+2008-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Avoid failure of mv command.
+
+2008-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/btowc (License): Relicense under LGPLv2+.
+       * modules/mbsinit (License): Likewise.
+       * modules/mbrtowc (License): Likewise.
+       * modules/wcrtomb (License): Likewise.
+       * modules/streq (License): Likewise.
+       Reported by David Lutterkort <lutter@redhat.com>.
+
+2008-12-23  Bruno Haible  <bruno@clisp.org>
+
+       * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Fix conditional and comment.
+
+2008-12-23  Bruno Haible  <bruno@clisp.org>
+
+       Module getaddrinfo requires linking with $(GETADDRINFO_LIB).
+       * m4/getaddrinfo.m4 (gl_GETADDRINFO): Put link options into
+       GETADDRINFO_LIB, not in LIBS.
+       * modules/getaddrinfo (Link): Set to $(GETADDRINFO_LIB).
+       * modules/canon-host (Link): Likewise.
+       * NEWS: Mention the change.
+       * modules/getaddrinfo-tests (test_getaddrinfo_LDADD): Add the
+       GETADDRINFO_LIB.
+
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/iswalnum_l.texi: Mention limitation of wchar_t.
+       * doc/posix-functions/iswalpha_l.texi: Likewise.
+       * doc/posix-functions/iswblank_l.texi: Likewise.
+       * doc/posix-functions/iswcntrl_l.texi: Likewise.
+       * doc/posix-functions/iswctype_l.texi: Likewise.
+       * doc/posix-functions/iswdigit_l.texi: Likewise.
+       * doc/posix-functions/iswgraph_l.texi: Likewise.
+       * doc/posix-functions/iswlower_l.texi: Likewise.
+       * doc/posix-functions/iswprint_l.texi: Likewise.
+       * doc/posix-functions/iswpunct_l.texi: Likewise.
+       * doc/posix-functions/iswspace_l.texi: Likewise.
+       * doc/posix-functions/iswupper_l.texi: Likewise.
+       * doc/posix-functions/iswxdigit_l.texi: Likewise.
+       * doc/posix-functions/mbsnrtowcs.texi: Likewise.
+       * doc/posix-functions/open_wmemstream.texi: Likewise.
+       * doc/posix-functions/swscanf.texi: Likewise.
+       * doc/posix-functions/towctrans_l.texi: Likewise.
+       * doc/posix-functions/towlower.texi: Likewise.
+       * doc/posix-functions/towlower_l.texi: Likewise.
+       * doc/posix-functions/towupper.texi: Likewise.
+       * doc/posix-functions/towupper_l.texi: Likewise.
+       * doc/posix-functions/vfwprintf.texi: Likewise.
+       * doc/posix-functions/vfwscanf.texi: Likewise.
+       * doc/posix-functions/vswscanf.texi: Likewise.
+       * doc/posix-functions/vwprintf.texi: Likewise.
+       * doc/posix-functions/vwscanf.texi: Likewise.
+       * doc/posix-functions/wcpcpy.texi: Likewise.
+       * doc/posix-functions/wcpncpy.texi: Likewise.
+       * doc/posix-functions/wcscasecmp.texi: Likewise.
+       * doc/posix-functions/wcscasecmp_l.texi: Likewise.
+       * doc/posix-functions/wcscoll_l.texi: Likewise.
+       * doc/posix-functions/wcsdup.texi: Likewise.
+       * doc/posix-functions/wcsncasecmp.texi: Likewise.
+       * doc/posix-functions/wcsncasecmp_l.texi: Likewise.
+       * doc/posix-functions/wcsnlen.texi: Likewise.
+       * doc/posix-functions/wcsnrtombs.texi: Likewise.
+       * doc/posix-functions/wcsxfrm_l.texi: Likewise.
+       * doc/posix-functions/wctrans_l.texi: Likewise.
+       * doc/posix-functions/wctype_l.texi: Likewise.
+       * doc/glibc-functions/fgetwc_unlocked.texi: Likewise.
+       * doc/glibc-functions/fgetws_unlocked.texi: Likewise.
+       * doc/glibc-functions/fputwc_unlocked.texi: Likewise.
+       * doc/glibc-functions/fputws_unlocked.texi: Likewise.
+       * doc/glibc-functions/getwc_unlocked.texi: Likewise.
+       * doc/glibc-functions/getwchar_unlocked.texi: Likewise.
+       * doc/glibc-functions/putwc_unlocked.texi: Likewise.
+       * doc/glibc-functions/putwchar_unlocked.texi: Likewise.
+       * doc/glibc-functions/wcschrnul.texi: Likewise.
+       * doc/glibc-functions/wcsftime_l.texi: Likewise.
+       * doc/glibc-functions/wcstod_l.texi: Likewise.
+       * doc/glibc-functions/wcstof_l.texi: Likewise.
+       * doc/glibc-functions/wcstol_l.texi: Likewise.
+       * doc/glibc-functions/wcstold_l.texi: Likewise.
+       * doc/glibc-functions/wcstoll_l.texi: Likewise.
+       * doc/glibc-functions/wcstoq.texi: Likewise.
+       * doc/glibc-functions/wcstoul_l.texi: Likewise.
+       * doc/glibc-functions/wcstoull_l.texi: Likewise.
+       * doc/glibc-functions/wcstouq.texi: Likewise.
+       * doc/glibc-functions/wmempcpy.texi: Likewise.
+
+2008-12-22  Ingo Weinhold  <ingo_weinhold@gmx.de>  (tiny change)
+           Eric Blake  <ebb9@byu.net>
+           Paolo Bonzini  <bonzini@gnu.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       Make c-stack work on Haiku.
+       * lib/c-stack.c (SA_ONSTACK): Define fallback.
+       (c_stack_action): Use SA_ONSTACK flag.
+
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR_UTF8): Treat Haiku like BeOS.
+
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       Work around mbrlen() bugs on AIX, HP-UX, OSF/1, Solaris.
+       * m4/mbrlen.m4 (gl_FUNC_MBRLEN): Set REPLACE_MBRLEN if mbrtowc is
+       being overridden.
+       (gl_MBRLEN_INCOMPLETE_STATE, gl_MBRLEN_RETVAL, gl_MBRLEN_NUL_RETVAL):
+       New macros.
+       * lib/wchar.in.h (mbrlen): Override if REPLACE_MBRLEN is set.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_MBRLEN.
+       * modules/wchar (Makefile.am): Substitute REPLACE_MBRLEN.
+       * doc/posix-functions/mbrlen.texi: Mention the various platform bugs.
+
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE): Remove unused variable
+       from test code.
+
+2008-12-22  Eric Blake  <ebb9@byu.net>
+
+       Avoid gcc warnings on cygwin.
+       * lib/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
+       Avoid unused variable.
+       * lib/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
+       Likewise.
+
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       Remove HAVE_MBRTOWC conditionals.
+       * lib/mbscasecmp.c: Include mbuiter.h unconditionally.
+       (mbscasecmp): Assume mbrtowc function.
+       * lib/mbscasestr.c: Include mbuiter.h unconditionally.
+       (knuth_morris_pratt_multibyte, mbscasestr): Assume mbrtowc function.
+       * lib/mbschr.c: Include mbuiter.h unconditionally.
+       (mbschr): Assume mbrtowc function.
+       * lib/mbscspn.c: Include mbuiter.h unconditionally.
+       (mbscspn): Assume mbrtowc function.
+       * lib/mbslen.c: Include mbuiter.h unconditionally.
+       (mbslen): Assume mbrtowc function.
+       * lib/mbsncasecmp.c: Include mbuiter.h unconditionally.
+       (mbsncasecmp): Assume mbrtowc function.
+       * lib/mbsnlen.c: Include mbiter.h unconditionally.
+       (mbsnlen): Assume mbrtowc function.
+       * lib/mbspbrk.c: Include mbuiter.h unconditionally.
+       (mbspbrk): Assume mbrtowc function.
+       * lib/mbspcasecmp.c: Include mbuiter.h unconditionally.
+       (mbspcasecmp): Assume mbrtowc function.
+       * lib/mbsrchr.c: Include mbuiter.h unconditionally.
+       (mbsrchr): Assume mbrtowc function.
+       * lib/mbssep.c: Include mbuiter.h unconditionally.
+       (mbssep): Assume mbrtowc function.
+       * lib/mbsspn.c: Include mbuiter.h unconditionally.
+       (mbsspn): Assume mbrtowc function.
+       * lib/mbsstr.c: Include mbuiter.h unconditionally.
+       (knuth_morris_pratt_multibyte, mbsstr): Assume mbrtowc function.
+       * lib/mbstok_r.c: Include mbuiter.h unconditionally.
+       (mbstok_r): Assume mbrtowc function.
+       * lib/propername.c: Include mbuiter.h unconditionally.
+       (mbsstr_trimmed_wordbounded): Assume mbrtowc function.
+       * lib/trim.c: Include mbchar.h, mbiter.h uncondtionally.
+       (trim2): Assume mbrtowc function.
+       * lib/mbswidth.c (mbsinit): Remove fallback definition.
+       (mbsnwidth): Assume mbrtowc function.
+       * modules/mbswidth (Depends-on): Add mbrtowc, mbsinit.
+       * lib/quotearg.c (MB_CUR_MAX, mbstate_t, mbrtowc, iswprint): Remove
+       fallback definitions.
+       * modules/quotearg (Depends-on): Add mbrtowc, mbsinit.
+
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/mbtowc.texi: Mention a glibc bug.
+
+2008-12-22  Paolo Bonzini  <bonzini@gnu.org>
+
+       * modules/regex: Request emulations for the mb*/wc* functions we need.
+       * m4/regex.m4: Don't look for those functions here.
+       * lib/regex_internal.h: Do not check HAVE_WCRTOMB and HAVE_MBRTOWC.
+
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fnmatch (Depends-on): Remove duplicated dependency.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Make mbiter.h, mbuiter.h, mbfile.h usable unconditionally.
+       * modules/mbiter (Depends-on): Add mbrtowc, mbsinit.
+       (Include): Remove conditionalization.
+       * modules/mbuiter (Depends-on): Add mbrtowc, mbsinit.
+       (Include): Remove conditionalization.
+       * modules/mbfile (Depends-on): Add mbrtowc, mbsinit.
+       (Include): Remove conditionalization.
+       * m4/mbiter.m4 (gl_MBITER): Deprecate the use of AC_FUNC_MBRTOWC.
+       * m4/mbfile.m4 (gl_MBFILE): Likewise.
+       * NEWS: Mention the change.
+       Reported by Alan Hourihane <alanh@fairlite.co.uk>
+       via Sergey Poznyakoff <gray@gnu.org.ua>.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (Extended multibyte and wide character utilities
+       <wchar.h>): Add btowc, wctob, mbsinit, mbrlen, mbrtowc, mbsrtowcs,
+       wcrtomb, wcsrtombs.
+       (Support for systems lacking POSIX:2008): Add accept, bind, close,
+       connect, fclose, getpeername, getsockname, getsockopt, hostent, listen,
+       mbsnrtowcs, posix_spawn*, recv, recvfrom, sched, select, send, sendto,
+       setsockopt, shutdown, socket, spawn, sys_wait, wcsnrtombs, write.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh: Change section titles to refer to POSIX:2008.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcsnrtombs-tests: New file.
+       * tests/test-wcsnrtombs1.sh: New file.
+       * tests/test-wcsnrtombs2.sh: New file.
+       * tests/test-wcsnrtombs3.sh: New file.
+       * tests/test-wcsnrtombs4.sh: New file.
+       * tests/test-wcsnrtombs.c: New file.
+
+       New module 'wcsnrtombs'.
+       * lib/wchar.in.h (wcsnrtombs): New declaration.
+       * lib/wcsnrtombs.c: New file.
+       * lib/wcsrtombs-state.c: New file.
+       * lib/wcsrtombs.c: Refer to _gl_wcsrtombs_state.
+       (internal_state): Remove variable.
+       * m4/wcsnrtombs.m4: New file.
+       * m4/wcsrtombs.m4 (gl_FUNC_WCSRTOMBS): Add wcsrtombs-state.c to the
+       compilation units.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSNRTOMBS,
+       HAVE_WCSNRTOMBS.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSNRTOMBS,
+       HAVE_WCSNRTOMBS.
+       * modules/wcsnrtombs: New file.
+       * modules/wcsrtombs (Files): Add lib/wcsrtombs-state.c.
+       * doc/posix-functions/wcsnrtombs.texi: Mention the new module.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcsrtombs-tests: New file.
+       * tests/test-wcsrtombs1.sh: New file.
+       * tests/test-wcsrtombs2.sh: New file.
+       * tests/test-wcsrtombs3.sh: New file.
+       * tests/test-wcsrtombs4.sh: New file.
+       * tests/test-wcsrtombs.c: New file.
+
+       New module 'wcsrtombs'.
+       * lib/wchar.in.h (wcsrtombs): New declaration.
+       * lib/wcsrtombs.c: New file.
+       * m4/wcsrtombs.m4: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSRTOMBS,
+       HAVE_WCSRTOMBS, REPLACE_WCSRTOMBS.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCSRTOMBS,
+       HAVE_WCSRTOMBS, REPLACE_WCSRTOMBS.
+       * modules/wcsrtombs: New file.
+       * doc/posix-functions/wcsrtombs.texi: Mention the new module and the
+       bugs.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Work around a wcrtomb() bug on Solaris 10 and OSF/1 5.1.
+       * lib/wchar.in.h (wcrtomb): Override if REPLACE_WCRTOMB is set.
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Test the return value of wcrtomb
+       with NULL destination argument in various locales. Set REPLACE_WCRTOMB
+       if not correct.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCRTOMB.
+       * modules/wchar (Makefile.am): Substitute REPLACE_WCRTOMB.
+       * modules/wcrtomb (Files): Add m4/locale-fr.m4, m4/locale-ja.m4,
+       m4/locale-zh.m4, m4/codeset.m4.
+       * doc/posix-functions/wcrtomb.texi: Document the bug.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Work around a btowc() bug on IRIX 6.5.
+       * lib/wchar.in.h (btowc): Override if REPLACE_BTOWC is set.
+       * m4/btowc.m4 (gl_FUNC_BTOWC): Test whether btowc(EOF) is correct. Set
+       REPLACE_WTOBC if not.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_BTOWC.
+       * modules/wchar (Makefile.am): Substitute REPLACE_BTOWC.
+       * doc/posix-functions/btowc.texi: Mention the IRIX bug.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcrtomb-tests: New file.
+       * tests/test-wcrtomb.sh: New file.
+       * tests/test-wcrtomb.c: New file.
+
+       New module 'wcrtomb'.
+       * lib/wchar.in.h (wcrtomb): New declaration.
+       * lib/wcrtomb.c: New file.
+       * m4/wcrtomb.m4: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCRTOMB,
+       HAVE_WCRTOMB.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCRTOMB,
+       HAVE_WCRTOMB.
+       * modules/wcrtomb: New file.
+       * doc/posix-functions/wcrtomb.texi: Mention the new module.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbrtowc (Files): Add m4/codeset.m4, needed by m4/locale-fr.m4.
+       * modules/mbsrtowcs (Files): Likewise.
+       * modules/wctob (Files): Likewise.
+       * modules/c-strcase-tests (Files): Likewise.
+       * modules/unistdio/u8-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/u16-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/u32-vasnprintf-tests (Files): Likewise.
+       * modules/unistdio/ulc-vasnprintf-tests (Files): Likewise.
+       * modules/vasnprintf-posix-tests (Files): Likewise.
+
+2008-12-21  William Pursell  <bill.pursell@gmail.com>
+
+       gitlog-to-changelog: pass all command-line arguments to git-log
+       * build-aux/gitlog-to-changelog: When producing a ChangeLog,
+       it is sometimes convenient to filter the commits in various ways.
+       gitlog-to-changelog only allows --since to specify a start date,
+       but git-log itself supports many other filtering mechanisms.
+       At the moment, I want to filter by branch name.  Rather than
+       adding a --branch option to gitlog-to-changelog, it seems more
+       flexible to simply pass all options directly to git-log and let
+       git do the work.  Notice that this effectively makes --since a
+       redundant option for gitlog-to-changelog, but removing it would
+       require current usage to change since calls would then require
+       an additional '--'.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbsnrtowcs-tests: New file.
+       * tests/test-mbsnrtowcs1.sh: New file.
+       * tests/test-mbsnrtowcs2.sh: New file.
+       * tests/test-mbsnrtowcs3.sh: New file.
+       * tests/test-mbsnrtowcs4.sh: New file.
+       * tests/test-mbsnrtowcs.c: New file.
+
+       New module 'mbsnrtowcs'.
+       * lib/wchar.in.h (mbsnrtowcs): New declaration.
+       * lib/mbsnrtowcs.c: New file.
+       * lib/mbsrtowcs-state.c: New file.
+       * lib/mbsrtowcs.c: Refer to _gl_mbsrtowcs_state.
+       (internal_state): Remove variable.
+       * m4/mbsnrtowcs.m4: New file.
+       * m4/mbsrtowcs.m4 (gl_FUNC_MBSRTOWCS): Add mbsrtowcs-state.c to the
+       compilation units.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_MBSNRTOWCS,
+       HAVE_MBSNRTOWCS, REPLACE_MBSNRTOWCS.
+       * modules/wchar (Makefile.am): Substitute GNULIB_MBSNRTOWCS,
+       HAVE_MBSNRTOWCS, REPLACE_MBSNRTOWCS.
+       * modules/mbsnrtowcs: New file.
+       * modules/mbsrtowcs (Files): Add lib/mbsrtowcs-state.c.
+       * doc/posix-functions/mbsnrtowcs.texi: Mention the new module and a
+       portability problem.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Work around mbsrtowcs bug.
+       * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): New macro.
+       (gl_FUNC_MBSRTOWCS): Invoke it.
+       * modules/mbsrtowcs (Files): Add m4/locale-fr.m4, m4/locale-ja.m4,
+       m4/locale-zh.m4.
+       * doc/posix-functions/mbsrtowcs.texi: Document the bug.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-mbsrtowcs.c (main): Execute the loop also for unlimited=1.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Update doc for AIX.
+       * doc/pastposix-functions/wcswcs.texi: Mention that AIX has only a
+       16-bit wchar_t type.
+       * doc/posix-functions/btowc.texi: Likewise.
+       * doc/posix-functions/fgetwc.texi: Likewise.
+       * doc/posix-functions/fgetws.texi: Likewise.
+       * doc/posix-functions/fputwc.texi: Likewise.
+       * doc/posix-functions/fputws.texi: Likewise.
+       * doc/posix-functions/fwide.texi: Likewise.
+       * doc/posix-functions/fwprintf.texi: Likewise.
+       * doc/posix-functions/fwscanf.texi: Likewise.
+       * doc/posix-functions/getwchar.texi: Likewise.
+       * doc/posix-functions/getwc.texi: Likewise.
+       * doc/posix-functions/iswalnum.texi: Likewise.
+       * doc/posix-functions/iswalpha.texi: Likewise.
+       * doc/posix-functions/iswblank.texi: Likewise.
+       * doc/posix-functions/iswcntrl.texi: Likewise.
+       * doc/posix-functions/iswctype.texi: Likewise.
+       * doc/posix-functions/iswdigit.texi: Likewise.
+       * doc/posix-functions/iswgraph.texi: Likewise.
+       * doc/posix-functions/iswlower.texi: Likewise.
+       * doc/posix-functions/iswprint.texi: Likewise.
+       * doc/posix-functions/iswpunct.texi: Likewise.
+       * doc/posix-functions/iswspace.texi: Likewise.
+       * doc/posix-functions/iswupper.texi: Likewise.
+       * doc/posix-functions/iswxdigit.texi: Likewise.
+       * doc/posix-functions/mbrtowc.texi: Likewise.
+       * doc/posix-functions/mbsrtowcs.texi: Likewise.
+       * doc/posix-functions/mbstowcs.texi: Likewise.
+       * doc/posix-functions/mbtowc.texi: Likewise.
+       * doc/posix-functions/putwchar.texi: Likewise.
+       * doc/posix-functions/putwc.texi: Likewise.
+       * doc/posix-functions/swprintf.texi: Likewise.
+       * doc/posix-functions/tolower.texi: Likewise.
+       * doc/posix-functions/toupper.texi: Likewise.
+       * doc/posix-functions/towctrans.texi: Likewise.
+       * doc/posix-functions/ungetwc.texi: Likewise.
+       * doc/posix-functions/vswprintf.texi: Likewise.
+       * doc/posix-functions/wcrtomb.texi: Likewise.
+       * doc/posix-functions/wcscat.texi: Likewise.
+       * doc/posix-functions/wcschr.texi: Likewise.
+       * doc/posix-functions/wcscmp.texi: Likewise.
+       * doc/posix-functions/wcscoll.texi: Likewise.
+       * doc/posix-functions/wcscpy.texi: Likewise.
+       * doc/posix-functions/wcscspn.texi: Likewise.
+       * doc/posix-functions/wcsftime.texi: Likewise.
+       * doc/posix-functions/wcslen.texi: Likewise.
+       * doc/posix-functions/wcsncat.texi: Likewise.
+       * doc/posix-functions/wcsncmp.texi: Likewise.
+       * doc/posix-functions/wcsncpy.texi: Likewise.
+       * doc/posix-functions/wcspbrk.texi: Likewise.
+       * doc/posix-functions/wcsrchr.texi: Likewise.
+       * doc/posix-functions/wcsrtombs.texi: Likewise.
+       * doc/posix-functions/wcsspn.texi: Likewise.
+       * doc/posix-functions/wcsstr.texi: Likewise.
+       * doc/posix-functions/wcstod.texi: Likewise.
+       * doc/posix-functions/wcstof.texi: Likewise.
+       * doc/posix-functions/wcstoimax.texi: Likewise.
+       * doc/posix-functions/wcstok.texi: Likewise.
+       * doc/posix-functions/wcstold.texi: Likewise.
+       * doc/posix-functions/wcstoll.texi: Likewise.
+       * doc/posix-functions/wcstol.texi: Likewise.
+       * doc/posix-functions/wcstombs.texi: Likewise.
+       * doc/posix-functions/wcstoull.texi: Likewise.
+       * doc/posix-functions/wcstoul.texi: Likewise.
+       * doc/posix-functions/wcstoumax.texi: Likewise.
+       * doc/posix-functions/wcswidth.texi: Likewise.
+       * doc/posix-functions/wcsxfrm.texi: Likewise.
+       * doc/posix-functions/wctob.texi: Likewise.
+       * doc/posix-functions/wctomb.texi: Likewise.
+       * doc/posix-functions/wctrans.texi: Likewise.
+       * doc/posix-functions/wctype.texi: Likewise.
+       * doc/posix-functions/wcwidth.texi: Likewise.
+       * doc/posix-functions/wmemchr.texi: Likewise.
+       * doc/posix-functions/wmemcmp.texi: Likewise.
+       * doc/posix-functions/wmemcpy.texi: Likewise.
+       * doc/posix-functions/wmemmove.texi: Likewise.
+       * doc/posix-functions/wmemset.texi: Likewise.
+       * doc/posix-functions/wprintf.texi: Likewise.
+       * doc/posix-functions/wscanf.texi: Likewise.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Update doc for HP-UX 11.11.
+       * doc/posix-functions/btowc.texi: Clarify that the function is missing
+       in HP-UX version 11.00, not in all versions of HP-UX 11.
+       * doc/posix-functions/fwide.texi: Likewise.
+       * doc/posix-functions/fwprintf.texi: Likewise.
+       * doc/posix-functions/fwscanf.texi: Likewise.
+       * doc/posix-functions/inet_ntop.texi: Likewise.
+       * doc/posix-functions/inet_pton.texi: Likewise.
+       * doc/posix-functions/mbrlen.texi: Likewise.
+       * doc/posix-functions/mbrtowc.texi: Likewise.
+       * doc/posix-functions/mbsinit.texi: Likewise.
+       * doc/posix-functions/mbsrtowcs.texi: Likewise.
+       * doc/posix-functions/swprintf.texi: Likewise.
+       * doc/posix-functions/swscanf.texi: Likewise.
+       * doc/posix-functions/towctrans.texi: Likewise.
+       * doc/posix-functions/vfwprintf.texi: Likewise.
+       * doc/posix-functions/vswprintf.texi: Likewise.
+       * doc/posix-functions/vwprintf.texi: Likewise.
+       * doc/posix-functions/wcrtomb.texi: Likewise.
+       * doc/posix-functions/wcsrtombs.texi: Likewise.
+       * doc/posix-functions/wcsstr.texi: Likewise.
+       * doc/posix-functions/wctob.texi: Likewise.
+       * doc/posix-functions/wctrans.texi: Likewise.
+       * doc/posix-functions/wmemchr.texi: Likewise.
+       * doc/posix-functions/wmemcmp.texi: Likewise.
+       * doc/posix-functions/wmemcpy.texi: Likewise.
+       * doc/posix-functions/wmemmove.texi: Likewise.
+       * doc/posix-functions/wmemset.texi: Likewise.
+       * doc/posix-functions/wprintf.texi: Likewise.
+       * doc/posix-functions/wscanf.texi: Likewise.
+
+2008-12-21  Bruno Haible  <bruno@clisp.org>
+
+       Work around a portability problem.
+       * tests/test-mbsrtowcs.c (main): Use a temporary conversion state.
+       * doc/posix-functions/mbsrtowcs.texi: Document the portability problem.
+
+2008-12-20  Bruno Haible  <bruno@clisp.org>
+
+       * lib/wchar.in.h (mbsrtowcs): Redefine if REPLACE_MBSRTOWCS is set.
+       * m4/mbsrtowcs.m4 (gl_FUNC_MBSRTOWCS): Invoke gl_MBSTATE_T_BROKEN. Set
+       REPLACE_MBSRTOWCS if mbsrtowcs needs to be overridden.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_MBSRTOWCS.
+       * modules/wchar (Makefile.am): Substitute REPLACE_MBSRTOWCS.
+
+       Work around mbrtowc bugs on AIX, HP-UX, OSF/1, Solaris.
+       * lib/wchar.in.h (mbstate_t): Redefine also if REPLACE_MBSTATE_T is
+       set.
+       (GNULIB_defined_mbstate_t): New macro.
+       (mbsinit): Redefine if REPLACE_MBSINIT is set.
+       (mbrtowc): Redefine if REPLACE_MBRTOWC is set.
+       * lib/mbrtowc.c (rpl_mbrtowc): Add an alternative implementation that
+       reuses the system's mbrtowc function but works around the bugs.
+       * m4/mbrtowc.m4 (gl_MBSTATE_T_BROKEN, gl_MBRTOWC_INCOMPLETE_STATE,
+       gl_MBRTOWC_NULL_ARG, gl_MBRTOWC_RETVAL, gl_MBRTOWC_NUL_RETVAL): New
+       macros.
+       (gl_FUNC_MBRTOWC): Invoke them. Set REPLACE_MBRTOWC if mbrtowc needs to
+       be overridden. Optionally define MBRTOWC_NULL_ARG_BUG,
+       MBRTOWC_RETVAL_BUG, MBRTOWC_NUL_RETVAL_BUG.
+       * m4/mbsinit.m4 (gl_FUNC_MBSINIT): Invoke gl_MBSTATE_T_BROKEN. Set
+       REPLACE_MBSINIT if mbsinit needs to be overridden.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_MBSTATE_T,
+       REPLACE_MBSINIT, REPLACE_MBRTOWC.
+       * modules/wchar (Makefile.am): Substitute REPLACE_MBSTATE_T,
+       REPLACE_MBSINIT, REPLACE_MBRTOWC.
+       * modules/mbrtowc (Files): Add m4/locale-fr.m4, m4/locale-ja.m4,
+       m4/locale-zh.m4.
+       (Depends): Add mbsinit.
+       * modules/mbsinit (Depends): Add mbrtowc.
+       * doc/posix-functions/mbrtowc.texi: Mention the various bugs.
+
+2008-12-20  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-mbrtowc.c (main): Change sample string in EUC-JP encoding
+       so that there are no conversion errors on AIX.
+       * tests/test-mbsrtowcs.c (main): LIkewise.
+
+2008-12-20  Bruno Haible  <bruno@clisp.org>
+
+       Work around wctob bug on Solaris <= 9.
+       * lib/wchar.in.h (wctob): Redefine if REPLACE_WCTOB is set.
+       * m4/wctob.m4 (gl_FUNC_WCTOB): Test whether wctob works.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCTOB.
+       * modules/wchar (Makefile.am): Substitute REPLACE_WCTOB.
+       * modules/wctob (Files): Add m4/locale-fr.m4.
+       * doc/posix-functions/wctob.texi: Mention the Solaris bug.
+
+2008-12-20  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/select.texi: Mention Solaris 2.6 bug with
+       /dev/null.
+       * tests/test-select-in.sh: Likewise.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
+2008-12-20  Bruno Haible  <bruno@clisp.org>
+
+       Don't pretend that Cygwin has a ja_JP.EUC-JP locale.
+       * m4/locale-ja.m4 (gt_LOCALE_JA): Add test for MB_CUR_MAX. Needed on
+       Cygwin 1.5.x.
+
+2008-12-20  Bruno Haible  <bruno@clisp.org>
+
+       Ensure mbstate_t is defined on HP-UX 11.11.
+       * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Require
+       AC_CANONICAL_HOST. On HP-UX, define _XOPEN_SOURCE to 500.
+       * m4/mbstate_t.m4 (AC_TYPE_MBSTATE_T): Require
+       AC_USE_SYSTEM_EXTENSIONS.
+       * modules/fnmatch (Depends-on): Add extensions.
+       * modules/mbrlen (Depends-on): Likewise.
+       * modules/mbrtowc (Depends-on): Likewise.
+       * modules/mbsinit (Depends-on): Likewise.
+       * modules/mbsrtowcs (Depends-on): Likewise.
+       * modules/mbswidth (Depends-on): Likewise.
+       * modules/quotearg (Depends-on): Likewise.
+       * modules/strftime (Depends-on): Likewise.
+
+2008-12-20  Bruno Haible  <bruno@clisp.org>
+
+       Ensure wctob is declared on IRIX 6.5.
+       * lib/wchar.in.h (wctob): Declare also when HAVE_DECL_WCTOB is 0.
+       * m4/wctob.m4 (gl_FUNC_WCTOB): Set HAVE_DECL_WCTOB instead of
+       HAVE_WCTOB. Also test whether <wchar.h> declares wctob.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize HAVE_DECL_WCTOB instead
+       of HAVE_WCTOB.
+       * modules/wchar (Makefile.am): Substitute HAVE_DECL_WCTOB instead of
+       HAVE_WCTOB.
+       * doc/posix-functions/wctob.texi: Mention missing declaration on IRIX.
+
+2008-12-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbsrtowcs-tests: New file.
+       * tests/test-mbsrtowcs1.sh: New file.
+       * tests/test-mbsrtowcs2.sh: New file.
+       * tests/test-mbsrtowcs3.sh: New file.
+       * tests/test-mbsrtowcs4.sh: New file.
+       * tests/test-mbsrtowcs.c: New file.
+
+       New module 'mbsrtowcs'.
+       * lib/wchar.in.h (mbsrtowcs): New declaration.
+       * lib/mbsrtowcs.c: New file.
+       * m4/mbsrtowcs.m4: New file.
+       * modules/mbsrtowcs: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_MBSRTOWCS and
+       HAVE_MBSRTOWCS.
+       * modules/wchar (Makefile.am): Substitute GNULIB_MBSRTOWCS and
+       HAVE_MBSRTOWCS.
+       * doc/posix-functions/mbsrtowcs.texi: Document the new module.
+
+2008-12-19  Bruno Haible  <bruno@clisp.org>
+
+       New module 'mbrlen'.
+       * lib/wchar.in.h (mbrlen): New declaration.
+       * lib/mbrlen.c: New file.
+       * m4/mbrlen.m4: New file.
+       * modules/mbrlen: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_MBRLEN and
+       HAVE_MBRLEN.
+       * modules/wchar (Makefile.am): Substitute GNULIB_MBRLEN and
+       HAVE_MBRLEN.
+       * doc/posix-functions/mbrlen.texi: Document the new module.
+
+2008-12-19  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbrtowc.c: Include verify.h. Verify an assumption.
+       * modules/mbrtowc (Depends-on): Add verify.
+       Suggested by Paul Eggert.
+
+2008-12-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbsinit-tests: New file.
+       * tests/test-mbsinit.sh: New file.
+       * tests/test-mbsinit.c: New file.
+
+2008-12-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbrtowc-tests: New file.
+       * tests/test-mbrtowc1.sh: New file.
+       * tests/test-mbrtowc2.sh: New file.
+       * tests/test-mbrtowc3.sh: New file.
+       * tests/test-mbrtowc4.sh: New file.
+       * tests/test-mbrtowc.c: New file.
+
+       New module 'mbrtowc'.
+       * lib/wchar.in.h (mbstate_t): Override when the system does not have
+       mbsinit and mbrtowc.
+       (mbrtowc): New declaration.
+       * lib/mbrtowc.c: New file.
+       * m4/mbrtowc.m4 (gl_FUNC_MBRTOWC, gl_PREREQ_MBRTOWC): New macros.
+       * modules/mbrtowc: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_MBRTOWC and
+       HAVE_MBRTOWC.
+       * modules/wchar (Makefile.am): Substitute GNULIB_MBRTOWC and
+       HAVE_MBRTOWC.
+       * doc/posix-functions/mbrtowc.texi: Document the new module.
+
+2008-12-18  Bruno Haible  <bruno@clisp.org>
+
+       New module 'wctob'.
+       * lib/wchar.in.h (wctob): New declaration.
+       * lib/wctob.c: New file.
+       * m4/wctob.m4: New file.
+       * modules/wctob: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCTOB and
+       HAVE_WCTOB.
+       * modules/wchar (Makefile.am): Substitute GNULIB_WCTOB and HAVE_WCTOB.
+       * doc/posix-functions/wctob.texi: Document the new module.
+
+2008-12-18  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mbsinit.m4 (gl_FUNC_MBSINIT): Invoke gl_REPLACE_WCHAR_H.
+       * m4/btowc.m4 (gl_FUNC_BTOWC): Likewise.
+
+2008-12-18  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/flock.c: Use proper #if symbol in check.  Reported by "Tom
+       G. Christensen" <tgc@jupiterrise.com>.
+
+       * lib/flock.c: Need to include errno.h.  Reported by "Tom
+       G. Christensen" <tgc@jupiterrise.com>.
+
+       * lib/flock.c: Need to include string.h.  Reported by "Tom
+       G. Christensen" <tgc@jupiterrise.com> and Eric Blake
+       <ebb9@byu.net>.
+
+2008-12-18  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-ja.m4: New file, from GNU gettext.
+
+2008-12-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mbrtowc.m4 (AC_FUNC_MBRTOWC): Don't override in autoconf >= 2.60.
+       Suggested by Eric Blake.
+
+2008-12-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/errno_h.m4 (AC_COMPUTE_INT): Provide fallback definition.
+
+2008-12-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbsinit.c: Include verify.h. Verify an assumption.
+       * modules/mbsinit (Depends-on): Add verify.
+       Suggested by Paul Eggert.
+
+2008-12-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mbrtowc.m4 (AC_FUNC_MBRTOWC): Renamed from gl_FUNC_MBRTOWC.
+       * m4/mbfile.m4 (gl_MBFILE): Use AC_FUNC_MBRTOWC instead of
+       gl_FUNC_MBRTOWC.
+       * m4/mbiter.m4 (gl_MBITER): LIkewise.
+       * m4/mbscasecmp.m4 (gl_PREREQ_MBSCASECMP): Likewise.
+       * m4/mbscasestr.m4 (gl_PREREQ_MBSCASESTR): Likewise.
+       * m4/mbschr.m4 (gl_PREREQ_MBSCHR): Likewise.
+       * m4/mbscspn.m4 (gl_PREREQ_MBSCSPN): Likewise.
+       * m4/mbslen.m4 (gl_PREREQ_MBSLEN): Likewise.
+       * m4/mbsncasecmp.m4 (gl_PREREQ_MBSNCASECMP): Likewise.
+       * m4/mbsnlen.m4 (gl_PREREQ_MBSNLEN): Likewise.
+       * m4/mbspbrk.m4 (gl_PREREQ_MBSPBRK): Likewise.
+       * m4/mbspcasecmp.m4 (gl_PREREQ_MBSPCASECMP): Likewise.
+       * m4/mbsrchr.m4 (gl_PREREQ_MBSRCHR): Likewise.
+       * m4/mbssep.m4 (gl_PREREQ_MBSSEP): Likewise.
+       * m4/mbsspn.m4 (gl_PREREQ_MBSSPN): Likewise.
+       * m4/mbsstr.m4 (gl_PREREQ_MBSSTR): Likewise.
+       * m4/mbstok_r.m4 (gl_PREREQ_MBSTOK_R): Likewise.
+       * m4/mbswidth.m4 (gl_MBSWIDTH): Likewise.
+       * m4/quotearg.m4 (gl_QUOTEARG): Likewise.
+       * modules/trim (configure.ac): Likewise.
+
+2008-12-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/btowc-tests: New file.
+       * tests/test-btowc1.sh: New file.
+       * tests/test-btowc2.sh: New file.
+       * tests/test-btowc.c: New file.
+
+       New module 'btowc'.
+       * lib/wchar.in.h (btowc): New declaration.
+       * lib/btowc.c: New file.
+       * m4/btowc.m4: New file.
+       * modules/btowc: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_BTOWC and
+       HAVE_BTOWC.
+       * modules/wchar (Makefile.am): Substitute GNULIB_BTOWC and HAVE_BTOWC.
+       * doc/posix-functions/btowc.texi: Document the new module.
+
+2008-12-17  Bruno Haible  <bruno@clisp.org>
+
+       New module 'mbsinit'.
+       * lib/wchar.in.h (mbsinit): New declaration.
+       * lib/mbsinit.c: New file.
+       * m4/mbsinit.m4: New file.
+       * modules/mbsinit: New file.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_MBSINIT and
+       HAVE_MBSINIT.
+       * modules/wchar (Makefile.am): Substitute GNULIB_MBSINIT and
+       HAVE_MBSINIT.
+       * doc/posix-functions/mbsinit.texi: Document the new module.
+
+2008-12-16  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistd.in.h: Add comment.
+       * tests/test-environ.c: Don't include <stdlib.h>.
+
+2008-12-16  Bruno Haible  <bruno@clisp.org>
+
+       * lib/parse-duration.h (parse_duration): Document return value
+       convention.
+       * lib/parse-duration.c: Include specification header first. Add
+       comments.
+       (_): Remove macro.
+       (parse_year_month_day, parse_hour_minute_second): Move side effects
+       outside of strchr call.
+       (parse_non_iso8601): Move side effects outside of isspace call.
+       (parse_duration): Don't test errno is res != BAD_TIME. Remove fprintf
+       call.
+
+2008-12-16  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-parse-duration.sh: Produce no output when the test
+       succeeds.
+
+2008-12-16  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-parse-duration.sh: Fix quoting of $tmp and $tmpf
+       expressions.
+
+2008-12-15  Bruno Haible  <bruno@clisp.org>
+
+       * doc/glibc-functions/fgetxattr.texi: Tweak wording.
+       * doc/glibc-functions/flistxattr.texi: Likewise.
+       * doc/glibc-functions/fopencookie.texi: Likewise.
+       * doc/glibc-functions/fremovexattr.texi: Likewise.
+       * doc/glibc-functions/fsetxattr.texi: Likewise.
+       * doc/glibc-functions/getxattr.texi: Likewise.
+       * doc/glibc-functions/lgetxattr.texi: Likewise.
+       * doc/glibc-functions/listxattr.texi: Likewise.
+       * doc/glibc-functions/llistxattr.texi: Likewise.
+       * doc/glibc-functions/lremovexattr.texi: Likewise.
+       * doc/glibc-functions/lsetxattr.texi: Likewise.
+       * doc/glibc-functions/removexattr.texi: Likewise.
+       * doc/glibc-functions/setxattr.texi: Likewise.
+       * doc/posix-functions/open_memstream.texi: Likewise.
+
+2008-12-15  Eric Blake  <ebb9@byu.net>
+
+       Update doc for cygwin 1.7.
+       * doc/posix-functions/faccessat.texi: Cygwin 1.7 added several new
+       functions.
+       * doc/posix-functions/fchmodat.texi: Likewise.
+       * doc/posix-functions/fchownat.texi: Likewise.
+       * doc/posix-functions/fdopendir.texi: Likewise.
+       * doc/posix-functions/fmemopen.texi: Likewise.
+       * doc/posix-functions/freeaddrinfo.texi: Likewise.
+       * doc/posix-functions/fstatat.texi: Likewise.
+       * doc/posix-functions/futimens.texi: Likewise.
+       * doc/posix-functions/gai_strerror.texi: Likewise.
+       * doc/posix-functions/getaddrinfo.texi: Likewise.
+       * doc/posix-functions/getnameinfo.texi: Likewise.
+       * doc/posix-functions/if_freenameindex.texi: Likewise.
+       * doc/posix-functions/if_indextoname.texi: Likewise.
+       * doc/posix-functions/if_nameindex.texi: Likewise.
+       * doc/posix-functions/if_nametoindex.texi: Likewise.
+       * doc/posix-functions/insque.texi: Likewise.
+       * doc/posix-functions/linkat.texi: Likewise.
+       * doc/posix-functions/llrint.texi: Likewise.
+       * doc/posix-functions/llrintf.texi: Likewise.
+       * doc/posix-functions/llrintl.texi: Likewise.
+       * doc/posix-functions/lockf.texi: Likewise.
+       * doc/posix-functions/lrintl.texi: Likewise.
+       * doc/posix-functions/mkdirat.texi: Likewise.
+       * doc/posix-functions/mkfifoat.texi: Likewise.
+       * doc/posix-functions/mknodat.texi: Likewise.
+       * doc/posix-functions/mq_close.texi: Likewise.
+       * doc/posix-functions/mq_getattr.texi: Likewise.
+       * doc/posix-functions/mq_notify.texi: Likewise.
+       * doc/posix-functions/mq_open.texi: Likewise.
+       * doc/posix-functions/mq_receive.texi: Likewise.
+       * doc/posix-functions/mq_send.texi: Likewise.
+       * doc/posix-functions/mq_setattr.texi: Likewise.
+       * doc/posix-functions/mq_timedreceive.texi: Likewise.
+       * doc/posix-functions/mq_timedsend.texi: Likewise.
+       * doc/posix-functions/mq_unlink.texi: Likewise.
+       * doc/posix-functions/open_memstream.texi: Likewise.
+       * doc/posix-functions/openat.texi: Likewise.
+       * doc/posix-functions/posix_fadvise.texi: Likewise.
+       * doc/posix-functions/posix_fallocate.texi: Likewise.
+       * doc/posix-functions/posix_madvise.texi: Likewise.
+       * doc/posix-functions/posix_memalign.texi: Likewise.
+       * doc/posix-functions/posix_openpt.texi: Likewise.
+       * doc/posix-functions/readlinkat.texi: Likewise.
+       * doc/posix-functions/remque.texi: Likewise.
+       * doc/posix-functions/renameat.texi: Likewise.
+       * doc/posix-functions/rintl.texi: Likewise.
+       * doc/posix-functions/sem_unlink.texi: Likewise.
+       * doc/posix-functions/shm_open.texi: Likewise.
+       * doc/posix-functions/shm_unlink.texi: Likewise.
+       * doc/posix-functions/signgam.texi: Likewise.
+       * doc/posix-functions/sigset.texi: Likewise.
+       * doc/posix-functions/stpcpy.texi: Likewise.
+       * doc/posix-functions/stpncpy.texi: Likewise.
+       * doc/posix-functions/strerror.texi: Likewise.
+       * doc/posix-functions/strtod.texi: Likewise.
+       * doc/posix-functions/symlinkat.texi: Likewise.
+       * doc/posix-functions/unlinkat.texi: Likewise.
+       * doc/posix-functions/utimensat.texi: Likewise.
+       * doc/glibc-functions/bindresvport.texi: Likewise.
+       * doc/glibc-functions/dn_expand.texi: Likewise.
+       * doc/glibc-functions/exp10.texi: Likewise.
+       * doc/glibc-functions/exp10f.texi: Likewise.
+       * doc/glibc-functions/fgetxattr.texi: Likewise.
+       * doc/glibc-functions/flistxattr.texi: Likewise.
+       * doc/glibc-functions/fopencookie.texi: Likewise.
+       * doc/glibc-functions/freeifaddrs.texi: Likewise.
+       * doc/glibc-functions/fremovexattr.texi: Likewise.
+       * doc/glibc-functions/fsetxattr.texi: Likewise.
+       * doc/glibc-functions/getifaddrs.texi: Likewise.
+       * doc/glibc-functions/getxattr.texi: Likewise.
+       * doc/glibc-functions/lgetxattr.texi: Likewise.
+       * doc/glibc-functions/listxattr.texi: Likewise.
+       * doc/glibc-functions/llistxattr.texi: Likewise.
+       * doc/glibc-functions/lremovexattr.texi: Likewise.
+       * doc/glibc-functions/lsetxattr.texi: Likewise.
+       * doc/glibc-functions/pow10.texi: Likewise.
+       * doc/glibc-functions/pow10f.texi: Likewise.
+       * doc/glibc-functions/rcmd_af.texi: Likewise.
+       * doc/glibc-functions/removexattr.texi: Likewise.
+       * doc/glibc-functions/res_init.texi: Likewise.
+       * doc/glibc-functions/res_mkquery.texi: Likewise.
+       * doc/glibc-functions/res_query.texi: Likewise.
+       * doc/glibc-functions/res_querydomain.texi: Likewise.
+       * doc/glibc-functions/res_send.texi: Likewise.
+       * doc/glibc-functions/rresvport_af.texi: Likewise.
+       * doc/glibc-functions/setxattr.texi: Likewise.
+       * doc/glibc-functions/strcasestr.texi: Likewise.
+
+2008-12-15  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error on OSF/1 4.0.
+       * lib/sys_select.in.h: When invoked from OSF/1 <sys/types.h> or
+       <sys/time.h>, simply delegate to the system header.
+       Reported by Daniel Richard G. <oss@teragram.com>.
+
+2008-12-15  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/openat.texi: Mention the 'openat' module.
+       * doc/posix-functions/fchmodat.texi: Likewise.
+       * doc/posix-functions/fchownat.texi: Likewise.
+       * doc/posix-functions/fdopendir.texi: Likewise.
+       * doc/posix-functions/fstatat.texi: Likewise.
+       * doc/posix-functions/mkdirat.texi: Likewise.
+       * doc/posix-functions/unlinkat.texi: Likewise.
+
+2008-12-14  Bruno Haible  <bruno@clisp.org>
+
+       Update doc for POSIX:2008.
+       * doc/posix-functions/faccessat.texi: New file.
+       * doc/posix-functions/fchmodat.texi: New file.
+       * doc/posix-functions/fchownat.texi: New file.
+       * doc/posix-functions/fdopendir.texi: New file.
+       * doc/posix-functions/fstatat.texi: New file.
+       * doc/posix-functions/futimens.texi: New file.
+       * doc/posix-functions/linkat.texi: New file.
+       * doc/posix-functions/mkdirat.texi: New file.
+       * doc/posix-functions/mkfifoat.texi: New file.
+       * doc/posix-functions/mknodat.texi: New file.
+       * doc/posix-functions/open_wmemstream.texi: New file.
+       * doc/posix-functions/openat.texi: New file.
+       * doc/posix-functions/psiginfo.texi: New file.
+       * doc/posix-functions/pthread_mutex_consistent.texi: New file.
+       * doc/posix-functions/pthread_mutexattr_getrobust.texi: New file.
+       * doc/posix-functions/pthread_mutexattr_setrobust.texi: New file.
+       * doc/posix-functions/readlinkat.texi: New file.
+       * doc/posix-functions/renameat.texi: New file.
+       * doc/posix-functions/strerror_l.texi: New file.
+       * doc/posix-functions/symlinkat.texi: New file.
+       * doc/posix-functions/unlinkat.texi: New file.
+       * doc/posix-functions/utimensat.texi: New file.
+       * doc/gnulib.texi (Function Substitutes): Add these subsections.
+
+2008-12-14  Bruno Haible  <bruno@clisp.org>
+
+       Update doc for POSIX:2008.
+       * doc/posix-functions/alphasort.texi: Renamed from
+       doc/glibc-functions/alphasort.texi.
+       * doc/posix-functions/dirfd.texi: Renamed from
+       doc/glibc-functions/dirfd.texi.
+       * doc/posix-functions/dprintf.texi: Renamed from
+       doc/glibc-functions/dprintf.texi.
+       * doc/posix-functions/duplocale.texi: Renamed from
+       doc/glibc-functions/duplocale.texi.
+       * doc/posix-functions/fexecve.texi: Renamed from
+       doc/glibc-functions/fexecve.texi.
+       * doc/posix-functions/fmemopen.texi: Renamed from
+       doc/glibc-functions/fmemopen.texi.
+       * doc/posix-functions/freelocale.texi: Renamed from
+       doc/glibc-functions/freelocale.texi.
+       * doc/posix-functions/getdate_err.texi: Renamed from
+       doc/glibc-functions/getdate_err.texi.
+       * doc/posix-functions/isalnum_l.texi: Renamed from
+       doc/glibc-functions/isalnum_l.texi.
+       * doc/posix-functions/isalpha_l.texi: Renamed from
+       doc/glibc-functions/isalpha_l.texi.
+       * doc/posix-functions/isblank_l.texi: Renamed from
+       doc/glibc-functions/isblank_l.texi.
+       * doc/posix-functions/iscntrl_l.texi: Renamed from
+       doc/glibc-functions/iscntrl_l.texi.
+       * doc/posix-functions/isdigit_l.texi: Renamed from
+       doc/glibc-functions/isdigit_l.texi.
+       * doc/posix-functions/isgraph_l.texi: Renamed from
+       doc/glibc-functions/isgraph_l.texi.
+       * doc/posix-functions/islower_l.texi: Renamed from
+       doc/glibc-functions/islower_l.texi.
+       * doc/posix-functions/isprint_l.texi: Renamed from
+       doc/glibc-functions/isprint_l.texi.
+       * doc/posix-functions/ispunct_l.texi: Renamed from
+       doc/glibc-functions/ispunct_l.texi.
+       * doc/posix-functions/isspace_l.texi: Renamed from
+       doc/glibc-functions/isspace_l.texi.
+       * doc/posix-functions/isupper_l.texi: Renamed from
+       doc/glibc-functions/isupper_l.texi.
+       * doc/posix-functions/iswalnum_l.texi: Renamed from
+       doc/glibc-functions/iswalnum_l.texi.
+       * doc/posix-functions/iswalpha_l.texi: Renamed from
+       doc/glibc-functions/iswalpha_l.texi.
+       * doc/posix-functions/iswblank_l.texi: Renamed from
+       doc/glibc-functions/iswblank_l.texi.
+       * doc/posix-functions/iswcntrl_l.texi: Renamed from
+       doc/glibc-functions/iswcntrl_l.texi.
+       * doc/posix-functions/iswctype_l.texi: Renamed from
+       doc/glibc-functions/iswctype_l.texi.
+       * doc/posix-functions/iswdigit_l.texi: Renamed from
+       doc/glibc-functions/iswdigit_l.texi.
+       * doc/posix-functions/iswgraph_l.texi: Renamed from
+       doc/glibc-functions/iswgraph_l.texi.
+       * doc/posix-functions/iswlower_l.texi: Renamed from
+       doc/glibc-functions/iswlower_l.texi.
+       * doc/posix-functions/iswprint_l.texi: Renamed from
+       doc/glibc-functions/iswprint_l.texi.
+       * doc/posix-functions/iswpunct_l.texi: Renamed from
+       doc/glibc-functions/iswpunct_l.texi.
+       * doc/posix-functions/iswspace_l.texi: Renamed from
+       doc/glibc-functions/iswspace_l.texi.
+       * doc/posix-functions/iswupper_l.texi: Renamed from
+       doc/glibc-functions/iswupper_l.texi.
+       * doc/posix-functions/iswxdigit_l.texi: Renamed from
+       doc/glibc-functions/iswxdigit_l.texi.
+       * doc/posix-functions/isxdigit_l.texi: Renamed from
+       doc/glibc-functions/isxdigit_l.texi.
+       * doc/posix-functions/mbsnrtowcs.texi: Renamed from
+       doc/glibc-functions/mbsnrtowcs.texi.
+       * doc/posix-functions/mkdtemp.texi: Renamed from
+       doc/glibc-functions/mkdtemp.texi.
+       * doc/posix-functions/newlocale.texi: Renamed from
+       doc/glibc-functions/newlocale.texi.
+       * doc/posix-functions/nl_langinfo_l.texi: Renamed from
+       doc/glibc-functions/nl_langinfo_l.texi.
+       * doc/posix-functions/open_memstream.texi: Renamed from
+       doc/glibc-functions/open_memstream.texi.
+       * doc/posix-functions/opterr.texi: Renamed from
+       doc/glibc-functions/opterr.texi.
+       * doc/posix-functions/optind.texi: Renamed from
+       doc/glibc-functions/optind.texi.
+       * doc/posix-functions/optopt.texi: Renamed from
+       doc/glibc-functions/optopt.texi.
+       * doc/posix-functions/psignal.texi: Renamed from
+       doc/glibc-functions/psignal.texi.
+       * doc/posix-functions/scandir.texi: Renamed from
+       doc/glibc-functions/scandir.texi.
+       * doc/posix-functions/sched_get_priority_min.texi: Renamed from
+       doc/glibc-functions/sched_get_priority_min.texi.
+       * doc/posix-functions/signgam.texi: Renamed from
+       doc/glibc-functions/signgam.texi.
+       * doc/posix-functions/stpcpy.texi: Renamed from
+       doc/glibc-functions/stpcpy.texi.
+       * doc/posix-functions/stpncpy.texi: Renamed from
+       doc/glibc-functions/stpncpy.texi.
+       * doc/posix-functions/strcasecmp_l.texi: Renamed from
+       doc/glibc-functions/strcasecmp_l.texi.
+       * doc/posix-functions/strcoll_l.texi: Renamed from
+       doc/glibc-functions/strcoll_l.texi.
+       * doc/posix-functions/strfmon_l.texi: Renamed from
+       doc/glibc-functions/strfmon_l.texi.
+       * doc/posix-functions/strftime_l.texi: Renamed from
+       doc/glibc-functions/strftime_l.texi.
+       * doc/posix-functions/strncasecmp_l.texi: Renamed from
+       doc/glibc-functions/strncasecmp_l.texi.
+       * doc/posix-functions/strndup.texi: Renamed from
+       doc/glibc-functions/strndup.texi.
+       * doc/posix-functions/strnlen.texi: Renamed from
+       doc/glibc-functions/strnlen.texi.
+       * doc/posix-functions/strsignal.texi: Renamed from
+       doc/glibc-functions/strsignal.texi.
+       * doc/posix-functions/strxfrm_l.texi: Renamed from
+       doc/glibc-functions/strxfrm_l.texi.
+       * doc/posix-functions/timer_gettime.texi: Renamed from
+       doc/glibc-functions/timer_gettime.texi.
+       * doc/posix-functions/tolower_l.texi: Renamed from
+       doc/glibc-functions/tolower_l.texi.
+       * doc/posix-functions/toupper_l.texi: Renamed from
+       doc/glibc-functions/toupper_l.texi.
+       * doc/posix-functions/towctrans_l.texi: Renamed from
+       doc/glibc-functions/towctrans_l.texi.
+       * doc/posix-functions/towlower_l.texi: Renamed from
+       doc/glibc-functions/towlower_l.texi.
+       * doc/posix-functions/towupper_l.texi: Renamed from
+       doc/glibc-functions/towupper_l.texi.
+       * doc/posix-functions/uselocale.texi: Renamed from
+       doc/glibc-functions/uselocale.texi.
+       * doc/posix-functions/vdprintf.texi: Renamed from
+       doc/glibc-functions/vdprintf.texi.
+       * doc/posix-functions/wcpcpy.texi:
+       Renamed from doc/glibc-functions/wcpcpy.texi.
+       * doc/posix-functions/wcpncpy.texi: Renamed from
+       doc/glibc-functions/wcpncpy.texi.
+       * doc/posix-functions/wcscasecmp.texi: Renamed from
+       doc/glibc-functions/wcscasecmp.texi.
+       * doc/posix-functions/wcscasecmp_l.texi: Renamed from
+       doc/glibc-functions/wcscasecmp_l.texi.
+       * doc/posix-functions/wcscoll_l.texi: Renamed from
+       doc/glibc-functions/wcscoll_l.texi.
+       * doc/posix-functions/wcsdup.texi: Renamed from
+       doc/glibc-functions/wcsdup.texi.
+       * doc/posix-functions/wcsncasecmp.texi: Renamed from
+       doc/glibc-functions/wcsncasecmp.texi.
+       * doc/posix-functions/wcsncasecmp_l.texi: Renamed from
+       doc/glibc-functions/wcsncasecmp_l.texi.
+       * doc/posix-functions/wcsnlen.texi: Renamed from
+       doc/glibc-functions/wcsnlen.texi.
+       * doc/posix-functions/wcsnrtombs.texi: Renamed from
+       doc/glibc-functions/wcsnrtombs.texi.
+       * doc/posix-functions/wcsxfrm_l.texi: Renamed from
+       doc/glibc-functions/wcsxfrm_l.texi.
+       * doc/posix-functions/wctrans_l.texi: Renamed from
+       doc/glibc-functions/wctrans_l.texi.
+       * doc/posix-functions/wctype_l.texi: Renamed from
+       doc/glibc-functions/wctype_l.texi.
+       * doc/gnulib.texi (Function Substitutes): Add these subsections.
+       (Glibc ctype.h, Glibc dirent.h, Glibc getopt.h, Glibc math.h,
+       Glibc sched.h, Glibc signal.h, Glibc stdio.h, Glibc stdlib.h,
+       Glibc string.h, Glibc time.h, Glibc unistd.h, Glibc wchar.h): Remove
+       these subsections.
+       (Glibc langinfo.h, Glibc locale.h, Glibc monetary.h, Glibc wctype.h):
+       Remove sections.
+
+2008-12-14  Bruno Haible  <bruno@clisp.org>
+
+       Update doc for POSIX:2008.
+       * doc/posix-functions/*.texi: Update URL of POSIX specification.
+
+2008-12-14  Bruno Haible  <bruno@clisp.org>
+
+       Update doc for POSIX:2008.
+       * doc/pastposix-functions/bcmp.texi: Renamed from
+       doc/posix-functions/bcmp.texi.
+       * doc/pastposix-functions/bcopy.texi: Renamed from
+       doc/posix-functions/bcopy.texi.
+       * doc/pastposix-functions/bsd_signal.texi: Renamed from
+       doc/posix-functions/bsd_signal.texi.
+       * doc/pastposix-functions/bzero.texi: Renamed from
+       doc/posix-functions/bzero.texi.
+       * doc/pastposix-functions/ecvt.texi: Renamed from
+       doc/posix-functions/ecvt.texi.
+       * doc/pastposix-functions/fcvt.texi: Renamed from
+       doc/posix-functions/fcvt.texi.
+       * doc/pastposix-functions/ftime.texi: Renamed from
+       doc/posix-functions/ftime.texi.
+       * doc/pastposix-functions/gcvt.texi: Renamed from
+       doc/posix-functions/gcvt.texi.
+       * doc/pastposix-functions/getcontext.texi: Renamed from
+       doc/posix-functions/getcontext.texi.
+       * doc/pastposix-functions/gethostbyaddr.texi: Renamed from
+       doc/posix-functions/gethostbyaddr.texi.
+       * doc/pastposix-functions/gethostbyname.texi: Renamed from
+       doc/posix-functions/gethostbyname.texi.
+       * doc/pastposix-functions/getwd.texi: Renamed from
+       doc/posix-functions/getwd.texi.
+       * doc/pastposix-functions/h_errno.texi: Renamed from
+       doc/posix-functions/h_errno.texi.
+       * doc/pastposix-functions/index.texi: Renamed from
+       doc/posix-functions/index.texi.
+       * doc/pastposix-functions/makecontext.texi: Renamed from
+       doc/posix-functions/makecontext.texi.
+       * doc/pastposix-functions/mktemp.texi: Renamed from
+       doc/posix-functions/mktemp.texi.
+       * doc/pastposix-functions/pthread_attr_getstackaddr.texi: Renamed from
+       doc/posix-functions/pthread_attr_getstackaddr.texi.
+       * doc/pastposix-functions/pthread_attr_setstackaddr.texi: Renamed from
+       doc/posix-functions/pthread_attr_setstackaddr.texi.
+       * doc/pastposix-functions/rindex.texi: Renamed from
+       doc/posix-functions/rindex.texi.
+       * doc/pastposix-functions/scalb.texi: Renamed from
+       doc/posix-functions/scalb.texi.
+       * doc/pastposix-functions/setcontext.texi: Renamed from
+       doc/posix-functions/setcontext.texi.
+       * doc/pastposix-functions/swapcontext.texi: Renamed from
+       doc/posix-functions/swapcontext.texi.
+       * doc/pastposix-functions/ualarm.texi: Renamed from
+       doc/posix-functions/ualarm.texi.
+       * doc/pastposix-functions/usleep.texi: Renamed from
+       doc/posix-functions/usleep.texi.
+       * doc/pastposix-functions/vfork.texi: Renamed from
+       doc/posix-functions/vfork.texi.
+       * doc/pastposix-functions/wcswcs.texi: Renamed from
+       doc/posix-functions/wcswcs.texi.
+       * doc/gnulib.texi (Legacy Function Substitutes): New chapter.
+       (Function Substitutes): Update.
+
+2008-12-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/relocatable-prog-wrapper (Depends-on): Add errno, needed by
+       m4/strerror.m4.
+
+2008-12-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+           Bruno Haible  <bruno@clisp.org>
+
+       * modules/unilbrk/tables (Depends-on): Add unilbrk/base.
+
+2008-12-13  Bruno Haible  <bruno@clisp.org>
+
+       * modules/strtoull (Depends-on): Remove unistd.
+
+2008-12-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/strtoull (Depends-on): Add stdlib.
+
+2008-12-11  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Add more warnings.
+
+2008-12-10  Jim Meyering  <meyering@redhat.com>
+
+       gl_ASSERT: don't say assertions are disabled when they're not
+       * m4/assert.m4 (gl_ASSERT): Do not make configure report
+       "checking whether to enable assertions... no", when they are in
+       fact enabled.  This is solely a bug in the output of configure.
+       In spite of saying "no", NDEBUG was not defined in that case.
+       Also, as noted by Eric Blake, leave assertions enabled upon
+       --enable-assert=INVALID.
+
+2008-12-10  Bruno Haible  <bruno@clisp.org>
+
+       Change MODULES.html to refer to POSIX:2008 where possible.
+       * MODULES.html.sh (POSIX2008_URL): New variable.
+       (posix_headers): Remove sys/timeb, ucontext.
+       (posix2001_headers): New variable.
+       (posix_functions): Remove bcmp, bcopy, bsd_signal, bzero, ecvt, fcvt,
+       ftime, gcvt, getcontext, gethostbyaddr, gethostbyname, getwd, h_errno,
+       index, makecontext, mktemp, pthread_attr_getstackaddr,
+       pthread_attr_setstackaddr, rindex, scalb, setcontext, swapcontext,
+       ualarm, usleep, vfork, wcswcs. Add the new POSIX:2008 functions.
+       (posix2001_functions): New variable.
+       (func_module): Use URLs to POSIX:2008 where possible and to POSIX:2001
+       otherwise.
+
+2008-12-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       add missing include to parse-duration.c
+       * lib/parse-duration.c: #include "xalloc.h", for xstrdup.
+       * modules/parse-duration (Depends-on): Add xalloc.
+
+       fix sed script reading maint.mk
+       * top/maint.mk (MYSELF): New macro, define as $(srcdir)/$(ME).
+       (syntax-check-rules): Use it.
+
+2008-12-09  Bruno Haible  <bruno@clisp.org>
+
+       * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): Add another check, that fails on
+       MacOS X 10.4/PowerPC.
+       Reported by Simon Josefsson.
+
+2008-12-08  Jim Meyering  <meyering@redhat.com>
+
+       work around mingw's lack of some S_IF definitions
+       * lib/fts.c (S_IFLNK, S_IFSOCK): Define if not already defined.
+       Reported by Simon Josefsson.
+
+2008-12-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/signbitl.m4 (gl_SIGNBIT_TEST_PROGRAM): Add a link check of signbit
+       applied to variables. Needed on MacOS X 10.4/PowerPC.
+       Reported by Simon Josefsson.
+
+2008-12-08  William Pursell  <bill.pursell@gmail.com>  (tiny change)
+       and Eric Blake  <ebb9@byu.net>
+
+       assert: honor --enable-assert
+       * m4/assert.m4 (gl_ASSERT): Synchronize with autoconf 2.64, in
+       order to honor --enable-assert, rather than treating it as a
+       synonym for --disable-assert.
+
+2008-12-08  Jim Meyering  <meyering@redhat.com>
+
+       * lib/posixtm.c: Remove now-useless declaration of mktime.
+
+       * build-aux/announce-gen (get_tool_versions): Accept .xz tarballs.
+
+2008-12-07  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-lock.c (test_lock, test_rwlock, test_recursive_lock,
+       test_once): Mark functions as static.
+       * tests/test-tls.c (test_tls): Likewise.
+
+2008-12-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/striconveha.h (uniconv_register_autodetect): Renamed from
+       iconv_register_autodetect.
+
+2008-12-07  Jim Meyering  <meyering@redhat.com>
+
+       posixtm.c: avoid a warning
+       * lib/posixtm.c (posixtime): Don't initialize tm0.
+       It's no longer needed to placate gcc4's -Wuninitialized,
+       and the attempt to placate would elicit a new warning.
+
+       unicodeio.c: mark unused parameters
+       * lib/unicodeio.c (exit_failure_callback): Mark unused parameter.
+       (fallback_failure_callback): Likewise.
+
+2008-12-07  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): When building the tests
+       subdirectory, ignore the modules gnumakefile and maintainer-makefile.
+       Reported by Simon Josefsson.
+
+2008-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/manywarnings.texi, doc/gnulib-intro.texi: Fix typos.
+
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-stack.h (c_stack_action): Clarify possible side effects.
+       Suggested by Eric Blake.
+
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix a c-stack test failure on MacOS X.
+       * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Require
+       AC_CANONICAL_HOST. Define FAULT_YIELDS_SIGBUS. If set, install a signal
+       handler for SIGBUS as well.
+       * lib/c-stack.c (c_stack_action): If FAULT_YIELDS_SIGBUS is set,
+       install a signal handler for SIGBUS as well.
+       Reported by Bruce Dugan <bld0401@gmail.com> via Eric Blake.
+
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       Advocacy documentation.
+       * doc/gnulib-intro.texi (Benefits): New section.
+       * doc/gnulib.texi: Update.
+
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       Document the 'manywarnings' module.
+       * doc/manywarnings.texi: New file.
+       * doc/gnulib.texi: Include it.
+
+2008-12-05  Eric Blake  <ebb9@byu.net>
+
+       tests: silence some gcc warnings
+       * tests/test-getdate.c (LOG) [!DEBUG]: Mark no-op void.
+       * tests/uniwidth/test-uc_width2.c (finish_interval): Avoid printf
+       type mismatches.
+
+2008-12-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+           Bruno Haible  <bruno@clisp.org>
+
+       * m4/openmp.m4 (AC_OPENMP): Do not define with Autoconf 2.62 or newer.
+
+2008-11-29  Jim Meyering  <meyering@redhat.com>
+
+       unicodeio.c: mark unused parameters
+       * lib/unicodeio.c (exit_failure_callback): Mark unused parameter.
+       (fallback_failure_callback): Likewise.
+
+       fts: fix a thinko
+       * lib/fts.c (s_ifmt_shift_bits): Remove function.  Not needed after all.
+       (set_stat_type): Return S_IF*-valued "type" directly.
+       Prompted by James Youngman's spotting a related bug.
+       Confirmed by further testing through find.
+
+       fts: provide dirent.d_type via FTSENT.fts_statp, when possible
+       * lib/fts.c (D_TYPE): Define.
+       (DT_UNKNOWN, DT_BLK, DT_CHR) [HAVE_STRUCT_DIRENT_D_TYPE]: Define.
+       (DT_DIR, DT_FIFO, DT_LNK, DT_REG, DT_SOCK): Likewise.
+       (s_ifmt_shift_bits): New function.
+       (set_stat_type): New function.
+       (fts_build): When not calling fts_stat, call set_stat_type
+       to propagate dirent.d_type info to fts_read caller.
+       * lib/fts_.h (FTSENT) [FTS_DEFER_STAT]: Mention that
+       fts_statp->st_mode type information may be valid.
+
+2008-11-28  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sys_time.in.h: Add extern "C" block for C++.  Suggested by
+       Brian Dessent <brian@dessent.net>.  Reported by Sam Steingold
+       <sds@gnu.org>.
+
+2008-11-20  Bruno Haible  <bruno@clisp.org>
+
+       Attempt to work around an AIX 5.3, 6.1 compiler bug with include_next.
+       * lib/math.in.h: Use INCLUDE_NEXT_AS_FIRST_DIRECTIVE instead of
+       INCLUDE_NEXT.
+       * m4/include_next.m4 (gl_INCLUDE_NEXT): Set also
+       INCLUDE_NEXT_AS_FIRST_DIRECTIVE.
+       * modules/math (Makefile.am): Substitute
+       INCLUDE_NEXT_AS_FIRST_DIRECTIVE instead of INCLUDE_NEXT.
+       Reported by Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
+
+2008-11-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint.in.h: Define all type macros so that their expansion is
+       a single typedef'ed token. Fixes a compilation failure in Boost which
+       does "using ::int8_t;".
+
+2008-11-18  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/manywarnings.m4: New file with gl_MANYWARN_COMPLEMENT and
+       gl_MANYWARN_ALL_GCC.
+       * m4/warnings.m4: Removed gl_WARN_SUPPORTED and
+       gl_WARN_COMPLEMENT.  Suggested by Bruno Haible <bruno@clisp.org>.
+       * modules/manywarnings: New file.
+       * MODULES.html.sh: Mention manywarnings module.
+
+2008-11-18  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (Unit tests): New section.
+
+2008-11-18  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (refresh-po): Fix sed regexp to avoid problems with
+       paths like 'lib/po/foo.po'.
+
+2008-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/warnings.m4: Improve code.  Reported by Ralf Wildenhues
+       <Ralf.Wildenhues@gmx.de> and Paolo Bonzini <bonzini@gnu.org>.
+
+2008-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/warnings.m4: Use CPPFLAGS to really check whether the
+       parameter works.
+
+2008-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/warnings.m4: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.
+
+2008-11-17  Bruce Korb  <bkorb@gnu.org>
+
+       * modules/parse-duration-tests: New file.
+       * tests/test-parse-duration.sh: New file.
+       * tests/test-parse-duration.c: New file.
+
+       New module 'parse-duration'.
+       * lib/parse-duration.h: New file.
+       * lib/parse-duration.c: New file.
+       * modules/parse-duration: New file.
+
+2008-11-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-select-out.sh: Comment out the first pipe test.
+       Reported by Simon Josefsson.
+
+2008-11-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getaddrinfo (Depends-on): Add servent, hostent.
+       * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_SERVENT and
+       gl_HOSTENT.
+
+2008-11-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sockets.m4 (gl_SOCKETS): After trying -lsocket, try also
+       -lnetwork and -lnet. Needed for Haiku and BeOS.
+
+2008-11-16  Bruno Haible  <bruno@clisp.org>
+
+       * m4/getaddrinfo.m4 (gl_GETADDRINFO): Fix indentation.
+
+2008-11-16  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failure on Haiku.
+       * tests/test-fsync.c: Include <errno.h>.
+       (main): Don't require that fsync (0) fails.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       New module 'hostent'.
+       * modules/hostent: New file.
+       * m4/hostent.m4: New file, based on code in m4/getaddrinfo.m4.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       New module 'servent'.
+       * modules/servent: New file.
+       * m4/servent.m4: New file, based on code in m4/getaddrinfo.m4.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       Avoid generating same test program with two different rules.
+       * modules/frexp-nolibm-tests (Makefile.am): Rename test program from
+       test-frexp to test-frexp-nolibm.
+       * modules/frexpl-nolibm-tests (Makefile.am): Rename test program from
+       test-frexpl to test-frexpl-nolibm.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * modules/frexpl-tests (Makefile.am): Link test-frexpl with
+       $(FREXPL_LIBM).
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * lib/netdb.in.h: Activate the definitions also when the system's
+       <netdb.h> has 'struct addrinfo'.
+       * m4/netdb_h.m4 (gl_HEADER_NETDB): Replace netdb.h also when it lacks
+       EAI_OVERFLOW or AI_NUMERICSERV.
+       * doc/posix-headers/netdb.texi: Document the problem.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-sched.c: Test also the existence of the SCHED_* macros.
+
+       Make the 'sched' module work on platforms where <sched.h> exists but
+       is incomplete (such as Haiku).
+       * lib/sched.in.h; Include the system's <sched.h> if it exists.
+       (SCHED_FIFO, SCHED_RR, SCHED_OTHER): New macros.
+       * m4/sched_h.m4 (gl_SCHED_H): Test whether <sched.h> exists and also
+       defines SCHED_FIFO, SCHED_RR, SCHED_OTHER. Set HAVE_SCHED_H,
+       HAVE_STRUCT_SCHED_PARAM.
+       * modules/sched (Depends-on): Add include_next.
+       (Makefile.am): Substitute HAVE_SCHED_H, INCLUDE_NEXT,
+       PRAGMA_SYSTEM_HEADER, NEXT_SCHED_H, HAVE_STRUCT_SCHED_PARAM.
+       * doc/posix-headers/sched.texi: Document the issue.
+
+2008-11-13  Jim Meyering  <meyering@redhat.com>
+
+       test-argp-2: avoid test failure when PACKAGE_BUGREPORT is defined
+       * tests/test-argp-2.sh: When PACKAGE_BUGREPORT was defined, this
+       test would fail due to the difference in the Report bugs to ...
+       line.  The expected address is empty, "<>", while the actual
+       would contain e.g., "<bug-tar@gnu.org>".  Filter out any address.
+
+2008-11-12  Bruno Haible  <bruno@clisp.org>
+
+       lstat: don't compile lstat.c on systems lacking lstat
+       * m4/lstat.m4 (gl_FUNC_LSTAT): Don't compile lstat.c on systems
+       which don't have lstat; this is handled by lib/sys_stat.in.h already.
+       Reported by Daniel P. Berrange via Jim Meyering.
+
+2008-11-12  Jim Meyering  <meyering@redhat.com>
+
+       * lib/unicodeio.c (unicode_to_mb): Correct spelling of u8_uctomb.
+
+2008-11-12  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/warnings (configure.ac): Do AC_SUBST([WARN_CFLAGS]) here
+       instead.
+
+2008-11-12  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unicodeio.c: Include unistr.h.
+       (utf8_wctomb): Remove function.
+       (unicode_to_mb): Use utf8_uctomb instead of utf8_wctomb.
+
+2008-11-12  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/warnings.m4 (gl_WARN_INIT): Remove, suggested by Ralf
+       Wildenhues <Ralf.Wildenhues@gmx.de> and Bruno Haible
+       <bruno@clisp.org>.
+       * modules/warnings (configure.ac): Don't call gl_WARN_INIT.
+
 2008-11-12  Simon Josefsson  <simon@josefsson.org>
 
        * doc/warnings.texi: New file, from Bruno Haible <bruno@clisp.org>.
 2008-11-12  Simon Josefsson  <simon@josefsson.org>
 
        * doc/warnings.texi: New file, from Bruno Haible <bruno@clisp.org>.
        coding: utf-8
        End:
 
        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
 
        Copying and distribution of this file, with or without
        modification, are permitted provided the copyright notice