New module 'uniwbrk/table'.
[gnulib.git] / ChangeLog
index ea31f30..ea08b91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2009-02-08  Bruno Haible  <bruno@clisp.org>
+
+       New module 'uniwbrk/table'.
+       * modules/uniwbrk/table: New file.
+       * lib/uniwbrk/wbrktable.h: New file.
+       * lib/uniwbrk/wbrktable.c: New file.
+
+       New module 'uniwbrk/wordbreak-property'.
+       * modules/uniwbrk/wordbreak-property: New file.
+       * lib/uniwbrk/wordbreak-property.c: New file.
+
+       * lib/gen-uni-tables.c (WBP_*): New enum items.
+       (get_wbp, debug_output_wbp, debug_output_wbrk_tables): New functions.
+       (unicode_org_wbp): New variable.
+       (fill_org_wbp, debug_output_org_wbp, debug_output_org_wbrk_tables):
+       New functions.
+       (wbp_table): New structure.
+       (output_wbp, output_wbrk_tables): New functions.
+       (main): Accept additional argument. Invoke fill_org_wbp,
+       debug_output_wbrk_tables, debug_output_org_wbrk_tables,
+       output_wbrk_tables.
+       * modules/gen-uni-tables (Description): Update.
+       * lib/uniwbrk/wbrkprop.h: New file, automatically generated by
+       gen-uni-tables.
+
+       New module 'uniwbrk/base'.
+       * modules/uniwbrk/base: New file.
+       * lib/uniwbrk.h: New file.
+
+2009-02-08  Bruno Haible  <bruno@clisp.org>
+
+       Update to Unicode 5.1.0.
+       * lib/gen-uni-tables.c (is_property_alphabetic): Include
+       U+2185..U+2188.
+       (is_property_default_ignorable_code_point): Don't include characters
+       of category Cc or Cs and not-a-characters.
+       (get_lbp): Assume REVISION_22. Special handling of U+0609, U+060A,
+       U+0D79, U+109E, U+109F, U+A60C.
+       * lib/unictype/bidi_of.h: Regenerated.
+       * lib/unictype/blocks.h: Regenerated.
+       * lib/unictype/categ_C.h: Regenerated.
+       * lib/unictype/categ_Cf.h: Regenerated.
+       * lib/unictype/categ_Cn.h: Regenerated.
+       * lib/unictype/categ_L.h: Regenerated.
+       * lib/unictype/categ_Ll.h: Regenerated.
+       * lib/unictype/categ_Lm.h: Regenerated.
+       * lib/unictype/categ_Lo.h: Regenerated.
+       * lib/unictype/categ_Lu.h: Regenerated.
+       * lib/unictype/categ_M.h: Regenerated.
+       * lib/unictype/categ_Mc.h: Regenerated.
+       * lib/unictype/categ_Me.h: Regenerated.
+       * lib/unictype/categ_Mn.h: Regenerated.
+       * lib/unictype/categ_N.h: Regenerated.
+       * lib/unictype/categ_Nd.h: Regenerated.
+       * lib/unictype/categ_Nl.h: Regenerated.
+       * lib/unictype/categ_No.h: Regenerated.
+       * lib/unictype/categ_P.h: Regenerated.
+       * lib/unictype/categ_Pd.h: Regenerated.
+       * lib/unictype/categ_Pe.h: Regenerated.
+       * lib/unictype/categ_Pf.h: Regenerated.
+       * lib/unictype/categ_Pi.h: Regenerated.
+       * lib/unictype/categ_Po.h: Regenerated.
+       * lib/unictype/categ_Ps.h: Regenerated.
+       * lib/unictype/categ_S.h: Regenerated.
+       * lib/unictype/categ_Sk.h: Regenerated.
+       * lib/unictype/categ_Sm.h: Regenerated.
+       * lib/unictype/categ_So.h: Regenerated.
+       * lib/unictype/categ_of.h: Regenerated.
+       * lib/unictype/combining.h: Regenerated.
+       * lib/unictype/ctype_alnum.h: Regenerated.
+       * lib/unictype/ctype_alpha.h: Regenerated.
+       * lib/unictype/ctype_graph.h: Regenerated.
+       * lib/unictype/ctype_lower.h: Regenerated.
+       * lib/unictype/ctype_print.h: Regenerated.
+       * lib/unictype/ctype_punct.h: Regenerated.
+       * lib/unictype/ctype_upper.h: Regenerated.
+       * lib/unictype/decdigit.h: Regenerated.
+       * lib/unictype/digit.h: Regenerated.
+       * lib/unictype/mirror.h: Regenerated.
+       * lib/unictype/numeric.h: Regenerated.
+       * lib/unictype/pr_alphabetic.h: Regenerated.
+       * lib/unictype/pr_bidi_arabic_digit.h: Regenerated.
+       * lib/unictype/pr_bidi_arabic_right_to_left.h: Regenerated.
+       * lib/unictype/pr_bidi_boundary_neutral.h: Regenerated.
+       * lib/unictype/pr_bidi_eur_num_terminator.h: Regenerated.
+       * lib/unictype/pr_bidi_left_to_right.h: Regenerated.
+       * lib/unictype/pr_bidi_non_spacing_mark.h: Regenerated.
+       * lib/unictype/pr_bidi_other_neutral.h: Regenerated.
+       * lib/unictype/pr_combining.h: Regenerated.
+       * lib/unictype/pr_dash.h: Regenerated.
+       * lib/unictype/pr_decimal_digit.h: Regenerated.
+       * lib/unictype/pr_default_ignorable_code_point.h: Regenerated.
+       * lib/unictype/pr_deprecated.h: Regenerated.
+       * lib/unictype/pr_diacritic.h: Regenerated.
+       * lib/unictype/pr_extender.h: Regenerated.
+       * lib/unictype/pr_format_control.h: Regenerated.
+       * lib/unictype/pr_grapheme_base.h: Regenerated.
+       * lib/unictype/pr_grapheme_extend.h: Regenerated.
+       * lib/unictype/pr_grapheme_link.h: Regenerated.
+       * lib/unictype/pr_id_continue.h: Regenerated.
+       * lib/unictype/pr_id_start.h: Regenerated.
+       * lib/unictype/pr_ideographic.h: Regenerated.
+       * lib/unictype/pr_ignorable_control.h: Regenerated.
+       * lib/unictype/pr_lowercase.h: Regenerated.
+       * lib/unictype/pr_math.h: Regenerated.
+       * lib/unictype/pr_numeric.h: Regenerated.
+       * lib/unictype/pr_other_alphabetic.h: Regenerated.
+       * lib/unictype/pr_other_default_ignorable_code_point.h: Regenerated.
+       * lib/unictype/pr_other_grapheme_extend.h: Regenerated.
+       * lib/unictype/pr_other_id_continue.h: Regenerated.
+       * lib/unictype/pr_other_lowercase.h: Regenerated.
+       * lib/unictype/pr_other_math.h: Regenerated.
+       * lib/unictype/pr_punctuation.h: Regenerated.
+       * lib/unictype/pr_sentence_terminal.h: Regenerated.
+       * lib/unictype/pr_soft_dotted.h: Regenerated.
+       * lib/unictype/pr_terminal_punctuation.h: Regenerated.
+       * lib/unictype/pr_unassigned_code_value.h: Regenerated.
+       * lib/unictype/pr_unified_ideograph.h: Regenerated.
+       * lib/unictype/pr_uppercase.h: Regenerated.
+       * lib/unictype/pr_xid_continue.h: Regenerated.
+       * lib/unictype/pr_xid_start.h: Regenerated.
+       * lib/unictype/pr_zero_width.h: Regenerated.
+       * lib/unictype/scripts.h: Regenerated.
+       * lib/unictype/scripts_byname.gperf: Regenerated.
+       * lib/unictype/sy_java_ident.h: Regenerated.
+       * lib/unilbrk/lbrkprop1.h: Regenerated.
+       * lib/unilbrk/lbrkprop2.h: Regenerated.
+       * tests/unictype/test-categ_C.c: Regenerated.
+       * tests/unictype/test-categ_Cf.c: Regenerated.
+       * tests/unictype/test-categ_Cn.c: Regenerated.
+       * tests/unictype/test-categ_L.c: Regenerated.
+       * tests/unictype/test-categ_Ll.c: Regenerated.
+       * tests/unictype/test-categ_Lm.c: Regenerated.
+       * tests/unictype/test-categ_Lo.c: Regenerated.
+       * tests/unictype/test-categ_Lu.c: Regenerated.
+       * tests/unictype/test-categ_M.c: Regenerated.
+       * tests/unictype/test-categ_Mc.c: Regenerated.
+       * tests/unictype/test-categ_Me.c: Regenerated.
+       * tests/unictype/test-categ_Mn.c: Regenerated.
+       * tests/unictype/test-categ_N.c: Regenerated.
+       * tests/unictype/test-categ_Nd.c: Regenerated.
+       * tests/unictype/test-categ_Nl.c: Regenerated.
+       * tests/unictype/test-categ_No.c: Regenerated.
+       * tests/unictype/test-categ_P.c: Regenerated.
+       * tests/unictype/test-categ_Pd.c: Regenerated.
+       * tests/unictype/test-categ_Pe.c: Regenerated.
+       * tests/unictype/test-categ_Pf.c: Regenerated.
+       * tests/unictype/test-categ_Pi.c: Regenerated.
+       * tests/unictype/test-categ_Po.c: Regenerated.
+       * tests/unictype/test-categ_Ps.c: Regenerated.
+       * tests/unictype/test-categ_S.c: Regenerated.
+       * tests/unictype/test-categ_Sk.c: Regenerated.
+       * tests/unictype/test-categ_Sm.c: Regenerated.
+       * tests/unictype/test-categ_So.c: Regenerated.
+       * tests/unictype/test-ctype_alnum.c: Regenerated.
+       * tests/unictype/test-ctype_alpha.c: Regenerated.
+       * tests/unictype/test-ctype_graph.c: Regenerated.
+       * tests/unictype/test-ctype_lower.c: Regenerated.
+       * tests/unictype/test-ctype_print.c: Regenerated.
+       * tests/unictype/test-ctype_punct.c: Regenerated.
+       * tests/unictype/test-ctype_upper.c: Regenerated.
+       * tests/unictype/test-decdigit.h: Regenerated.
+       * tests/unictype/test-digit.h: Regenerated.
+       * tests/unictype/test-numeric.h: Regenerated.
+       * tests/unictype/test-pr_alphabetic.c: Regenerated.
+       * tests/unictype/test-pr_bidi_arabic_digit.c: Regenerated.
+       * tests/unictype/test-pr_bidi_arabic_right_to_left.c: Regenerated.
+       * tests/unictype/test-pr_bidi_boundary_neutral.c: Regenerated.
+       * tests/unictype/test-pr_bidi_eur_num_terminator.c: Regenerated.
+       * tests/unictype/test-pr_bidi_left_to_right.c: Regenerated.
+       * tests/unictype/test-pr_bidi_non_spacing_mark.c: Regenerated.
+       * tests/unictype/test-pr_bidi_other_neutral.c: Regenerated.
+       * tests/unictype/test-pr_combining.c: Regenerated.
+       * tests/unictype/test-pr_dash.c: Regenerated.
+       * tests/unictype/test-pr_decimal_digit.c: Regenerated.
+       * tests/unictype/test-pr_default_ignorable_code_point.c: Regenerated.
+       * tests/unictype/test-pr_deprecated.c: Regenerated.
+       * tests/unictype/test-pr_diacritic.c: Regenerated.
+       * tests/unictype/test-pr_extender.c: Regenerated.
+       * tests/unictype/test-pr_format_control.c: Regenerated.
+       * tests/unictype/test-pr_grapheme_base.c: Regenerated.
+       * tests/unictype/test-pr_grapheme_extend.c: Regenerated.
+       * tests/unictype/test-pr_grapheme_link.c: Regenerated.
+       * tests/unictype/test-pr_id_continue.c: Regenerated.
+       * tests/unictype/test-pr_id_start.c: Regenerated.
+       * tests/unictype/test-pr_ideographic.c: Regenerated.
+       * tests/unictype/test-pr_ignorable_control.c: Regenerated.
+       * tests/unictype/test-pr_lowercase.c: Regenerated.
+       * tests/unictype/test-pr_math.c: Regenerated.
+       * tests/unictype/test-pr_numeric.c: Regenerated.
+       * tests/unictype/test-pr_other_alphabetic.c: Regenerated.
+       * tests/unictype/test-pr_other_default_ignorable_code_point.c:
+       Regenerated.
+       * tests/unictype/test-pr_other_grapheme_extend.c: Regenerated.
+       * tests/unictype/test-pr_other_id_continue.c: Regenerated.
+       * tests/unictype/test-pr_other_lowercase.c: Regenerated.
+       * tests/unictype/test-pr_other_math.c: Regenerated.
+       * tests/unictype/test-pr_punctuation.c: Regenerated.
+       * tests/unictype/test-pr_sentence_terminal.c: Regenerated.
+       * tests/unictype/test-pr_soft_dotted.c: Regenerated.
+       * tests/unictype/test-pr_terminal_punctuation.c: Regenerated.
+       * tests/unictype/test-pr_unassigned_code_value.c: Regenerated.
+       * tests/unictype/test-pr_unified_ideograph.c: Regenerated.
+       * tests/unictype/test-pr_uppercase.c: Regenerated.
+       * tests/unictype/test-pr_xid_continue.c: Regenerated.
+       * tests/unictype/test-pr_xid_start.c: Regenerated.
+       * tests/unictype/test-pr_zero_width.c: Regenerated.
+
+       Update to Unicode 5.1.0.
+       * lib/uniwidth/width.c (nonspacing_table_data): Add U+0487,
+       U+0616..U+061A, U+0A51, U+0A75, U+0B44, U+0B62..U+0B63, U+0C62..U+0C63,
+       U+0D44, U+0D62..U+0D63, U+1033..U+1035, U+103A, U+103D..U+103E,
+       U+105E..U+1060, U+1071..U+1074, U+1082, U+1085..U+1086, U+108D,
+       U+1B80..U+1B81, U+1BA2..U+1BA5, U+1BA8..U+1BA9, U+1C2C..U+1C33,
+       U+1C36..U+1C37, U+1DCB..U+1DE6, U+2064, U+20F0, U+2DE0..U+2DFF,
+       U+A66F..U+A672, U+A67C..U+A67D, U+A8C4, U+A926..U+A92D, U+A947..U+A951,
+       U+AA29..U+AA2E, U+AA31..U+AA32, U+AA35..U+AA36, U+AA43, U+AA4C,
+       U+FE24..U+FE26, U+101FD. Remove U+1929..U+192B.
+       (nonspacing_table_ind): Update.
+       * tests/uniwidth/test-uc_width2.sh: Update expected result.
+
+       Update to Unicode 5.1.0.
+       * lib/uniname/gen-uninames.lisp (main): Add the range 0x1Fxxx to the
+       code transform.
+       * lib/uniname/uniname.c (unicode_character_name,
+       unicode_name_character): Add the range 0x1Fxxx to the code transform.
+       * lib/uniname/uninames.h: Regenerated.
+       * tests/uniname/UnicodeDataNames.txt: Update to Unicode 5.1.0.
+
+2009-02-07  Bruno Haible  <bruno@clisp.org>
+
+       Merge gen-ctype and gen-lbrk into a single program.
+       * lib/gen-uni-tables.c: New file, incorporating
+       lib/unictype/gen-ctype.c and lib/unilbrk/gen-lbrk.c.
+       Add directory prefixes to the names of the generated files.
+       * lib/unictype/gen-ctype.c: Remove file.
+       * lib/unilbrk/gen-lbrk.c: Remove file.
+       * modules/gen-uni-tables: New file.
+       * modules/unictype/gen-ctype: Remove file.
+       * modules/unilbrk/gen-lbrk: Remove file.
+
+2009-02-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr.h (u8_strcoll, u16_strcoll, u32_strcoll): New declations.
+
+       New module 'unistr/u32-strcoll'.
+       * modules/unistr/u32-strcoll: New file.
+       * lib/unistr/u32-strcoll.c: New file.
+
+       New module 'unistr/u16-strcoll'.
+       * modules/unistr/u16-strcoll: New file.
+       * lib/unistr/u16-strcoll.c: New file.
+
+       New module 'unistr/u8-strcoll'.
+       * modules/unistr/u8-strcoll: New file.
+       * lib/unistr/u8-strcoll.c: New file.
+       * lib/unistr/u-strcoll.h: New file.
+
+2009-02-07  Bruno Haible  <bruno@clisp.org>
+
+       * test-mbrtowc4.sh (LOCALE_ZH_CN): Fix default value.
+       * test-mbsnrtowcs4.sh (LOCALE_ZH_CN): Likewise.
+       * test-mbsrtowcs4.sh (LOCALE_ZH_CN): Likewise.
+       * test-wcrtomb.sh (LOCALE_ZH_CN): Likewise.
+       * test-wcsnrtombs4.sh (LOCALE_ZH_CN): Likewise.
+       * test-wcsrtombs4.sh (LOCALE_ZH_CN): Likewise.
+
+2009-02-07  Bruno Haible  <bruno@clisp.org>
+
+       Make 64-bit clean.
+       * lib/unictype/gen-ctype.c (output_predicate, output_category,
+       output_combclass, output_bidi_category, output_decimal_digit,
+       output_digit, output_numeric, output_mirror, output_scripts,
+       output_ident_category): Use proper width specifier in format strings.
+
+2009-02-07  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/dirfd.texi: Clarify situation on mingw. Document
+       failure behaviour.
+
+2009-02-07  Jim Meyering  <meyering@redhat.com>
+
+       regex: avoid compilation failure with upcoming gcc-4.4
+       * lib/regex_internal.h: Revert e48d8b47fb3eee81d341b71c3e006efe9e3433a7
+       [workaround for PGC prior to 6.1-2].  Otherwise, we'd get this:
+       "... error: integer overflow in preprocessor expression".
+
+2009-02-05  Ben Pfaff  <blp@gnu.org>
+
+       Fix link errors on Windows when close module is used.
+       * modules/close: Add $(LIB_CLOSE) to Link section.
+       * m4/close.m4 (gl_REPLACE_CLOSE): Substitute -lws2_32 into
+       $(LIB_CLOSE) on Windows.
+
+2009-02-05  Jim Meyering  <meyering@redhat.com>
+
+       still avoid unused-parameter warnings, but do it cleanly
+       * lib/fsusage.c (UNUSED_PARAM): Remove definition.
+       (get_fs_usage): Cast to void instead.
+       * lib/mountlist.c (UNUSED_PARAM): Remove definition.
+       (dev_from_mount_options, read_file_system_list): Cast to void.
+       Prompted by Bruno Haible.
+
+2009-02-04  Jim Meyering  <meyering@redhat.com>
+
+       fsusage.c: correct copyright year
+       * lib/fsusage.c: Reflect year in which the change is pushed into
+
+       avoid misc. warnings
+       * lib/fsusage.c (UNUSED_PARAM): Define.
+       (get_fs_usage): Mark parameter "disk" as unused.
+       * lib/getugroups.c (getgrent): Use "void" in prototype.
+       * lib/mountlist.c: Mark unused parameters.
+       (read_file_system_list): Declare a local with "const".
+       * lib/nanosleep.c (getnow): Declare static.
+       * lib/strftime.c: Include strftime.h, for declaration of nstrftime.
+
+       dirfd: set errno upon failure
+       * lib/dirfd.c: Include <errno.h>.
+       Set errno to ENOTSUP when returning -1.
+       * modules/dirfd (Depends-on): Add errno.
+       Suggested by John Kodis <kodis@comcast.net>.
+
+2009-02-01  Bruno Haible  <bruno@clisp.org>
+
+       Don't assume sizeof (long) >= sizeof (void *).
+       * lib/memcmp.c: Include stdint.h.
+       (memcmp_bytes): Change argument types to op_t. Change type of srcp1,
+       srcp2 to 'const byte *'.
+       (memcmp_common_alignment, memcmp_not_common_alignment): Change argument
+       types to uintptr_t.
+       (rpl_memcmp): Change type of srcp1, srcp2 to 'uintptr_t'.
+       * modules/memcmp (Depends-on): Add stdint.
+       Reported by Ozkan Sezer <sezeroz@gmail.com>.
+
+2009-01-30  Eric Blake  <ebb9@byu.net>
+
+       fix more require-before-expand issues
+       * m4/pmccabe2html.m4 (gl_PMCCABE2HTML): Require, rather than
+       expand, AC_PROG_AWK.
+       * m4/gnulib-common.m4 (AC_PROG_MKDIR_P): Use AC_DEFUN_ONCE.
+
+2009-01-28  Eric Blake  <ebb9@byu.net>
+
+       version-etc: use consistent URL formatting
+       * lib/version-etc.c (emit_bug_reporting_address, version_etc_va):
+       Improve formatting.  Use fputs for string without %.
+
+2009-01-28  Jim Meyering  <meyering@redhat.com>
+
+       00gnulib.m4: add m4 quotes in shell comment to avoid autoconf warning
+       * m4/00gnulib.m4 (AC_DEFUN_ONCE): Add quotes to avoid an
+       "underquoted definition of NAME" from autoconf-2.59.
+
+2009-01-28  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib.texi: Add "Obsolete modules" to index.
+
+2009-01-28  Jim Meyering  <meyering@redhat.com>
+
+       useless-if-before-free: recognize more variants
+       * build-aux/useless-if-before-free: Also recognize e.g.,
+       if (NULL != p) free (p);
+
+2009-01-27  Mark McLoughlin  <markmc@redhat.com>
+
+       test-getaddrinfo: skip (don't fail) this test when there's no network
+       * tests/test-getaddrinfo.c: Skip test upon failure with EAI_AGAIN,
+       on the presumption that it means you lack network access.
+
+2009-01-26  Jim Meyering  <meyering@redhat.com>
+
+       fflush: avoid warnings on modern systems
+       * lib/fflush.c (rpl_fflush): Move declarations of locals,
+       pos and result, into scopes where they're used.
+
+2009-01-26  Eric Blake  <ebb9@byu.net>
+
+       Silence warning reintroduced by recent extensions patch.
+       * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS)
+       (gl_USE_SYSTEM_EXTENSIONS): Use AC_DEFUN_ONCE to silence newer
+       autoconf.
+
+       Backport improved autoconf semantics of AC_DEFUN_ONCE.
+       * m4/00gnulib.m4: New file.
+       * gnulib-tool (func_get_filelist): Always use it.
+       * m4/gnulib-common.m4 (gl_COMMON): Force the file to be used.
+       Reported by Bruno Haible, with suggestions from Paolo Bonzini.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       Make test-quotearg work on MacOS X and AIX.
+       * tests/test-quotearg.sh: New file.
+       * tests/locale/fr/LC_MESSAGES/test-quotearg.po: New file.
+       * tests/locale/fr/LC_MESSAGES/test-quotearg.mo: New file.
+       * tests/test-quotearg.c: Include <locale.h> and gettext.h. Don't
+       include <libintl.h>.
+       (fake_locale): Remove variable.
+       (gettext, dgettext, dcgettext): Remove functions.
+       (main): Instead of setting a fake locale, set a real locale. Call
+       textdomain and bindtextdomain.
+       * modules/quotearg-tests (Files): Add the new files.
+       (Depends-on): Add gettext, setenv, unsetenv.
+       (configure.ac): Invoke gt_LOCALE_FR and gt_LOCALE_FR_UTF8.
+       (Makefile.am): Add test-quotearg.sh to TESTS, remove test-quotearg.
+       Augment TESTS_ENVIRONMENT.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-fr.m4 (gt_LOCALE_FR): Remove special code that hid the
+       fr_FR.ISO8859-1 locale on MacOS X.
+       * m4/locale-ja.m4 (gt_LOCALE_JA): Remove special code that hid the
+       ja_JP.eucJP locale on MacOS X.
+       * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): Remove special code that hid the
+       zh_CN.GB18030 locale on MacOS X.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       Avoid link errors on MacOS X 10.3.
+       * lib/mbsrtowcs-state.c (_gl_mbsrtowcs_state): Add initializer.
+       * lib/wcsrtombs-state.c (_gl_wcsrtombs_state): Likewise.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/pipe.c: On Unix, assume HAVE_POSIX_SPAWN and use posix_spawnp.
+       * m4/pipe.m4 (gl_PIPE): Remove tests for vfork() based code.
+       * modules/pipe (Files): Remove m4/posix_spawn.m4.
+       (Depends-on): Add spawn, posix_spawnp, posix_spawn_file_actions_init,
+       posix_spawn_file_actions_addclose, posix_spawn_file_actions_adddup2,
+       posix_spawn_file_actions_addopen, posix_spawn_file_actions_destroy,
+       posix_spawnattr_init, posix_spawnattr_setsigmask,
+       posix_spawnattr_setflags, posix_spawnattr_destroy.
+
+       * lib/execute.c: On Unix, assume HAVE_POSIX_SPAWN and use posix_spawnp.
+       * m4/execute.m4 (gl_EXECUTE): Remove tests for vfork() based code.
+       * modules/execute (Files): Remove m4/posix_spawn.m4.
+       (Depends-on): Add spawn, posix_spawnp, posix_spawn_file_actions_init,
+       posix_spawn_file_actions_addopen, posix_spawn_file_actions_destroy,
+       posix_spawnattr_init, posix_spawnattr_setsigmask,
+       posix_spawnattr_setflags, posix_spawnattr_destroy.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/threadlib.c: Include <stdlib.h>.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/threadlib.c (dummy): New declaration.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbrtowc.c (mbrtowc): Distinguish invalid and incomplete
+       multibyte characters also for the GB18030 encoding. Don't crash when
+       the encoding is unknown and nstate = 0. Needed on OSF/1 5.1.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       Avoid redefining 'struct random_data' on OSF/1 5.1.
+       * lib/stdlib.in.h: Include <random.h> if it exists.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Test whether <random.h> exists. Set
+       HAVE_RANDOM_H. Include <random.h> when testing whether
+       'struct random_data' exists.
+       * modules/stdlib (Makefile.am): Substitute HAVE_RANDOM_H.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       Don't install charset.alias on MacOS X >= 10.3.
+       * lib/localcharset.c (DARWIN7): New macro.
+       (get_charset_aliases): Hardcode the result for Darwin7.
+       * modules/localcharset (install-exec-local): Don't install
+       charset.alias on MacOS X >= 10.3, if the file does not yet exist.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       Don't install charset.alias on mingw and Cygwin.
+       * modules/localcharset (install-exec-local): Don't install
+       charset.alias on mingw and Cygwin, if the file does not yet exist.
+       The result for these platforms is hardcoded in localcharset.c.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       Make it possible again to use AC_GNU_SOURCE together with gnulib.
+       * m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_GNU_SOURCE
+       before requiring AC_USE_SYSTEM_EXTENSIONS.
+
+2009-01-25  Jim Meyering  <meyering@redhat.com>
+
+       c-strtod: avoid warnings
+       * lib/c-strtod.c (C_STRTOD): Cast nptr to (char *) to avoid
+       "assignment discards qualifiers from pointer target type" warnings.
+
+2009-01-24  Bruno Haible  <bruno@clisp.org>
+
+       Add support for non-UTF-8 locales on MacOS X.
+       * lib/config.charset: Add CP1131, ARMSCII-8, PT154 to the list of
+       canonical encodings. For Darwin 7 and newer, don't map traditional
+       encodings to UTF-8.
+       Reported by Vincent Lefevre <vincent@vinc17.org>
+       at <http://savannah.gnu.org/bugs/?25235>.
+
+2009-01-24  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib.texi (Obsolete modules): New section.
+       Reported by Mike Frysinger <vapier@gentoo.org>.
+
+2009-01-24  Bruno Haible  <bruno@clisp.org>
+
+       * doc/Makefile (%.pdf): Clarify where to find texmf.cnf.
+       (%.dvi): New rule.
+
+2009-01-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-strtod.h (c_strtod, c_strtold): Adjust specification.
+       Reported by Eric Blake.
+
+2009-01-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-stack.c (segv_handler): If !HAVE_XSI_STACK_OVERFLOW_HEURISTIC,
+       set signo = 0 also if info->si_code <= 0. Needed on HP-UX 11.11.
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2009-01-24  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-strtod.h (c_strtod, c_strtold): Add specification.
+
+2009-01-23  Bruno Haible  <bruno@clisp.org>
+
+       Make c-strtod, c-strtold usable in libraries.
+       * lib/c-strtod.c: Include string.h instead of xalloc.h.
+       (C_STRTOD): Call strdup instead of xstrdup.
+       * modules/c-strtod (Depends-on): Add strdup-posix, remove xalloc.
+       * modules/c-strtold (Depends-on): Likewise.
+       * doc/c-strtod.texi: Remove the sentence mentioning xalloc_die.
+       * NEWS: Mention the change.
+       Reported by Michael Gold <mgold@ncf.ca>.
+
+2009-01-23  Jim Meyering  <meyering@redhat.com>
+
+       c-strtod: when ENDPTR is non-NULL, set *ENDPTR in new failure path
+       * lib/c-strtod.c (C_STRTOD) [LC_ALL_MASKC]: Ensure that when
+       ENDPTR is non-NULL, *ENDPTR is set to NPTR upon failure.
+
+2009-01-23  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/version-etc.c: Add emit_bug_reporting_address, inspired by
+       GNU CoreUtils.
+       * lib/version-etc.h: Add prototype for emit_bug_reporting_address.
+       * modules/version-etc (Description): Update.
+
+2009-01-22  Bruno Haible  <bruno@clisp.org>
+
+       Cache the C locale object.
+       * lib/c-strtod.c (c_locale_cache): New variable.
+       (c_locale): New function.
+       (C_STRTOD): Use it, and don't call freelocale.
+       * m4/c-strtod.m4 (gl_C_STRTOD, gl_C_STRTOLD): Require AC_C_INLINE.
+       Suggested by Paolo Bonzini.
+
+2009-01-21  Bruno Haible  <bruno@clisp.org>
+
+       * lib/getloadavg.c (getloadavg): Check c_strtod result against error
+       conditions other than overflow.
+
+2009-01-21  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-strtod.c: Include errno.h.
+       (C_STRTOD): Check against NULL return from newlocale. Preserve errno
+       value from STRTOD_L and STRTOD.
+
+2009-01-21  Bruno Haible  <bruno@clisp.org>
+       and Jim Meyering  <meyering@redhat.com>
+
+       nanosleep: skip configure test (fail it) for apple universal builds
+       * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Require gl_MULTIARCH. In Apple
+       universal builds, assume that nanosleep does not work.
+       * modules/nanosleep (Depends-on): Add multiarch.
+
+       mktime: skip configure test (fail it) for apple universal builds
+       * m4/mktime.m4 (AC_FUNC_MKTIME): Require gl_MULTIARCH. In Apple
+       universal builds, assume that mktime does not work.
+       * modules/mktime (Depends-on): Add multiarch.
+
+2009-01-21  Eric Blake  <ebb9@byu.net>
+
+       multiarch: avoid expand-before-require warning
+       * modules/multiarch (configure.ac): Require, rather than expand,
+       gl_MULTIARCH.
+       * m4/multiarch.m4 (gl_MULTIARCH_BODY): Merge...
+       (gl_MULTIARCH): ...into this macro, and use AC_DEFUN_ONCE to
+       enforce that all clients require it.  Partial reversion of
+       2008-12-29 patch.
+
+       error: avoid expand-before-require warning
+       * modules/errno (configure.ac): Require, rather than expand,
+       gl_HEADER_ERRNO_H.
+       * m4/errno_h.m4 (gl_HEADER_ERRNO_H_BODY): Merge...
+       (gl_HEADER_ERRNO_H): ...into this macro, and use AC_DEFUN_ONCE to
+       enforce that all clients require it.
+
+       gnulib-tool: avoid warnings from using obsolete AC_GNU_SOURCE
+       * gnulib-tool (func_dest_tmpfilename, func_create_testdir): Using
+       obsolete AC_GNU_SOURCE causes out-of-order expansion; avoid it,
+       and rely solely on gl_USE_SYSTEM_EXTENSIONS.
+
+2009-01-21  Paolo Bonzini  <bonzini@gnu.org>
+
+       Revert:
+       2009-01-20  Paolo Bonzini  <bonzini@gnu.org>
+
+       regex: do not depend on obsolete modules.
+       * modules/regex: Remove memcmp and memmove.
+
+2009-01-20  Bruno Haible  <bruno@clisp.org>
+
+       Make the 'link' module link on Windows NT 4.
+       * lib/link.c (_WIN32_WINNT): Don't define.
+       (CreateHardLinkFuncType): New type.
+       (CreateHardLinkFunc, initialized): New variables.
+       (initialize): New function.
+       (link): Invoke CreateHardLink indirectly through the function pointer.
+
+2009-01-20  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation failure on mingw.
+       * tests/test-link.c (main): Don't assume that EOPNOTSUPP exists.
+
+2009-01-20  Michael Gold  <mgold@ncf.ca>  (tiny change)
+
+       * doc/c-strtod.texi: Mention a couple of restrictions.
+
+2009-01-20  Jim Meyering  <meyering@redhat.com>
+
+       gettimeofday: move more declarations out of functions
+       * lib/gettimeofday.c: Move extern declarations of tzset and
+       gmtime out of containing functions.  Prompted by Bruno Haible.
+
+2009-01-20  Paolo Bonzini  <bonzini@gnu.org>
+
+       regex: do not depend on obsolete modules.
+       * modules/regex: Remove memcmp and memmove.
+
+2009-01-19  Bruno Haible  <bruno@clisp.org>
+
+       Don't use AC_REQUIRE([AC_C_BIGENDIAN]).
+       * modules/uniconv/u16-conv-from-enc (configure.ac): Require
+       gl_BIGENDIAN, not AC_C_BIGENDIAN.
+       * modules/uniconv/u16-conv-to-enc (configure.ac): Likewise.
+       * modules/uniconv/u16-strconv-to-enc (configure.ac): Likewise.
+
+2009-01-19  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-link.c: Include <errno.h>.
+       (main): Exit with code 77 when a hard link cannot be created due to
+       the file system.
+       * tests/test-link.sh: Skip test when a hard link cannot be created due
+       to the file system.
+       Suggested by Eric Blake.
+
+2009-01-19  Martin Lambers  <marlam@marlam.de>
+
+       * modules/link-tests: New file.
+       * tests/test-link.sh: New file.
+       * tests/test-link.c: New file.
+
+2009-01-19  Eric Blake  <ebb9@byu.net>
+
+       doc: mention another function added in cygwin 1.7.0
+       * doc/glibc-functions/glob_pattern_p.texi (glob_pattern_p):
+       Another new function in cygwin 1.7.
+
+2009-01-19  Bruno Haible  <bruno@clisp.org>
+
+       Don't use AC_REQUIRE([AC_C_BIGENDIAN]).
+       * m4/gnulib-common.m4 (gl_BIGENDIAN): New macro.
+       * m4/exponentl.m4 (gl_LONG_DOUBLE_EXPONENT_LOCATION): Require
+       gl_BIGENDIAN, not AC_C_BIGENDIAN.
+       * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Likewise.
+       * m4/isinf.m4 (gl_ISINFL_WORKS): Likewise.
+       * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Likewise.
+       * m4/md4.m4 (gl_MD4): Likewise.
+       * m4/md5.m4 (gl_MD5): Likewise.
+       * m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Likewise.
+       * m4/sha1.m4 (gl_SHA1): Likewise.
+       * m4/sha256.m4 (gl_SHA256): Likewise.
+       * m4/sha512.m4 (gl_SHA512): Likewise.
+
+2009-01-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/uniname/uniname-tests (Depends-on): Add progname.
+       * tests/uniname/test-uninames.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u8-vsprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u8-vsprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u8-vsnprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u8-vsnprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u16-vsprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u16-vsprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u16-vsnprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u16-vsnprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u32-vsprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u32-vsprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u32-vsnprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u32-vsnprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/ulc-vsprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-ulc-vsprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/ulc-vsnprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-ulc-vsnprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+2009-01-19  Eric Blake  <ebb9@byu.net>
+
+       test-unistd: test previous patch
+       * tests/test-unistd.c: Test *_FILENO macros.
+
+       unistd: guarantee STDIN_FILENO here, for OS/2 EMX
+       * lib/unistd.in.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
+       Guarantee a definition.
+       * doc/posix-headers/unistd.texi (unistd.h): Document the bug.
+       * modules/unistd-safer (Depends-on): Add dependency on unistd.
+       * lib/c-stack.c (STDERR_FILENO): Rely on <unistd.h>.
+       * lib/dup-safer.c (STDERR_FILENO): Likewise.
+       * lib/execute.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
+       Likewise.
+       * lib/fd-safer.c (STDIN_FILENO, STDERR_FILENO): Likewise.
+       * lib/fopen-safer.c (STDERR_FILENO): Likewise.
+       * lib/pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
+       Likewise.
+       * lib/tmpfile-safer.c (STDERR_FILENO): Likewise.
+       * tests/test-posix_spawn1.c (STDIN_FILENO, STDOUT_FILENO)
+       (STDERR_FILENO): Likewise.
+       * tests/test-posix_spawn2.c (STDIN_FILENO, STDOUT_FILENO)
+       (STDERR_FILENO): Likewise.
+       * tests/test-posix_spawn3.c (STDIN_FILENO, STDOUT_FILENO)
+       (STDERR_FILENO): Likewise.
+       Reported by Elbert Pol.
+
+2009-01-19  Eric Blake  <ebb9@byu.net>
+
+       doc: mention more functions added in cygwin 1.7.0
+       * doc/posix-functions/abort.texi (abort): Update wording related
+       to cygwin.
+       * doc/posix-functions/daylight.texi (daylight): Likewise.
+       * doc/posix-functions/optarg.texi (optarg): Likewise.
+       * doc/posix-functions/optarg.texi (opterr): Likewise.
+       * doc/posix-functions/optarg.texi (optind): Likewise.
+       * doc/posix-functions/optarg.texi (optopt): Likewise.
+       * doc/posix-functions/wprintf.texi (wprintf): Cygwin wprintf never
+       worked in 1.5.x, and was withdrawn in 1.7.
+       * doc/posix-functions/vwprintf.texi (vwprintf): Likewise.
+       * doc/posix-functions/fprintf.texi (fprintf): Tighten mention of
+       cygwin versions.
+       * doc/posix-functions/perror.texi (perror): Likewise.
+       * doc/posix-functions/printf.texi (printf): Likewise.
+       * doc/posix-functions/snprintf.texi (snprintf): Likewise.
+       * doc/posix-functions/sprintf.texi (sprintf): Likewise.
+       * doc/posix-functions/vfprintf.texi (vfprintf): Likewise.
+       * doc/posix-functions/vprintf.texi (vprintf): Likewise.
+       * doc/posix-functions/vsnprintf.texi (vsnprintf): Likewise.
+       * doc/posix-functions/vsprintf.texi (vsprintf): Likewise.
+       * doc/glibc-functions/obstack_printf.texi (obstack_printf):
+       Likewise.
+       * doc/glibc-functions/obstack_vprintf.texi (obstack_vprintf):
+       Likewise.
+       * doc/glibc-functions/cfmakeraw.texi (cfmakeraw): Cygwin 1.7 adds
+       this function.
+       * doc/glibc-functions/in6addr_any.texi (in6addr_any): Likewise.
+       * doc/glibc-functions/in6addr_loopback.texi (in6addr_loopback):
+       Likewise.
+       * doc/glibc-functions/updwtmpx.texi (updwtmpx): Likewise.
+       * doc/posix-functions/_Exit_C99.texi (_Exit): Likewise.
+       * doc/posix-functions/confstr.texi (confstr): Likewise.
+       * doc/posix-functions/dprintf.texi (dprintf): Likewise.
+       * doc/posix-functions/fgetwc.texi (fgetwc): Likewise.
+       * doc/posix-functions/fgetws.texi (fgetws): Likewise.
+       * doc/posix-functions/fputwc.texi (fputwc): Likewise.
+       * doc/posix-functions/fputws.texi (fputws): Likewise.
+       * doc/posix-functions/fwide.texi (fwide): Likewise.
+       * doc/posix-functions/getwc.texi (getwc): Likewise.
+       * doc/posix-functions/getwchar.texi (getwchar): Likewise.
+       * doc/posix-functions/putwc.texi (putwc): Likewise.
+       * doc/posix-functions/putwchar.texi (putwchar): Likewise.
+       * doc/posix-functions/sigignore.texi (sigignore): Likewise.
+       * doc/posix-functions/ungetwc.texi (ungetwc): Likewise.
+       * doc/posix-functions/vdprintf.texi (vdprintf): Likewise.
+       * doc/posix-functions/wcpcpy.texi (wcpcpy): Likewise.
+       * doc/posix-functions/wcpncpy.texi (wcpncpy): Likewise.
+       * doc/posix-functions/wcstol.texi (wcstol): Likewise.
+       * doc/posix-functions/wcstoll.texi (wcstoll): Likewise.
+       * doc/posix-functions/wcstoul.texi (wcstoul): Likewise.
+       * doc/posix-functions/wcstoull.texi (wcstoull): Likewise.
+       * doc/posix-functions/wcsxfrm.texi (wcsxfrm): Likewise.
+
+2009-01-19  Daniel P. Berrange  <berrange@redhat.com>
+
+       ioctl: avoid warning: no previous prototype for 'rpl_ioctl'
+       * lib/ioctl.c: Include <sys/ioctl.h>.
+
+2009-01-19  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/getdate-tests (Depends-on): Add progname.
+       * tests/test-getdate.c: Use progname module, to avoid link errors
+       on non-glibc systems.
+
+2009-01-18  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/filenamecat-tests (Depends-on): Add progname.
+       * modules/fstrcmp-tests (Depends-on): Likewise.
+
+       * tests/test-filenamecat.c: Use progname module, to avoid link
+       errors on non-glibc systems.
+       * tests/test-fstrcmp.c: Likewise.
+
+2009-01-19  Daniel P. Berrange  <berrange@redhat.com>
+
+       gettimeofday: avoid warning: nested extern declaration of 'localtime'
+       * lib/gettimeofday.c: Move extern declaration out of function.
+
+2009-01-18  Bruno Haible  <bruno@clisp.org>
+
+       * m4/strftime.m4 (gl_FUNC_STRFTIME): Don't test for mblen and mbrlen.
+       * lib/strftime.c (HAVE_MBLEN, HAVE_MBRLEN): Remove macros.
+       (MULTIBYTE_IS_FORMAT_SAFE): Define to 1 on all platforms except OSF/1.
+
+2009-01-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/strftime.c (MEMPCPY): Remove unused macro.
+       * m4/strftime.m4 (gl_FUNC_STRFTIME): Don't test for mempcpy.
+
+2009-01-18  Martin Lambers  <marlam@marlam.de>
+
+       New module 'link'.
+       * lib/unistd.in.h (link): New declaration.
+       * lib/link.c: New file.
+       * m4/link.m4: New file.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_LINK,
+       HAVE_LINK.
+       * modules/unistd (Makefile.am): Substitute GNULIB_LINK, HAVE_LINK.
+       * modules/link: New file.
+       * doc/posix-functions/link.texi: Mention the new module.
+
+2009-01-18  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-avltree_list.c (main): Call set_program_name.
+       * tests/test-avltree_oset.c (main): Likewise.
+       * tests/test-obstack-printf.c: Include progname.h.
+       (main): Call set_program_name.
+       * tests/test-quotearg.c: Include progname.h.
+       (main): Call set_program_name.
+       * tests/test-xmemdup0.c: Include progname.h.
+       (main): Call set_program_name.
+
+2009-01-18  Bruno Haible  <bruno@clisp.org>
+
+       New module 'alphasort'.
+       * lib/dirent.in.h (alphasort): New declaration.
+       * lib/alphasort.c: New file, from glibc with modifications.
+       * m4/alphasort.m4: New file.
+       * modules/alphasort: New file.
+       * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize GNULIB_ALPHASORT,
+       HAVE_ALPHASORT.
+       * modules/dirent (Makefile.am): Substitute GNULIB_ALPHASORT,
+       HAVE_ALPHASORT.
+       * doc/posix-functions/alphasort.texi: Mention the new module and the
+       portability problems.
+
+2009-01-18  Bruno Haible  <bruno@clisp.org>
+
+       New module 'scandir'.
+       * lib/dirent.in.h (scandir): New declaration.
+       * lib/scandir.c: New file, from glibc with modifications.
+       * m4/scandir.m4: New file.
+       * modules/scandir: New file.
+       * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize GNULIB_SCANDIR,
+       HAVE_SCANDIR.
+       * modules/dirent (Makefile.am): Substitute GNULIB_SCANDIR,
+       HAVE_SCANDIR.
+       * doc/posix-functions/scandir.texi: Mention the new module and the
+       portability problems.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_remove_prefix): Escape all dots in the prefix.
+       Update documentation.
+       (func_remove_suffix): Escape all dots in the suffix. Update
+       documentation.
+       (func_filter_filelist): Update documentation.
+       Reported by Ralf Wildenhues.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/dprintf-posix-tests: New file.
+       * tests/test-dprintf-posix.sh: New file.
+       * tests/test-dprintf-posix.c: New file.
+
+       New modules 'dprintf', 'dprintf-posix'.
+       * lib/stdio.in.h (dprintf): New declaration.
+       * lib/dprintf.c: New file.
+       * m4/dprintf.m4: New file.
+       * m4/dprintf-posix.m4: New file.
+       * modules/dprintf: New file.
+       * modules/dprintf-posix: New file.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize GNULIB_DPRINTF,
+       HAVE_DPRINTF, REPLACE_DPRINTF.
+       * modules/stdio (Makefile.am): Substitute also GNULIB_DPRINTF,
+       HAVE_DPRINTF, REPLACE_DPRINTF.
+       * doc/posix-functions/dprintf.texi: Mention the new modules.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/vdprintf-posix-tests: New file.
+       * tests/test-vdprintf-posix.sh: New file.
+       * tests/test-vdprintf-posix.c: New file.
+
+       New modules 'vdprintf', 'vdprintf-posix'.
+       * lib/stdio.in.h (vdprintf): New declaration.
+       * lib/vdprintf.c: New file.
+       * m4/vdprintf.m4: New file.
+       * m4/vdprintf-posix.m4: New file.
+       * modules/vdprintf: New file.
+       * modules/vdprintf-posix: New file.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize GNULIB_VDPRINTF,
+       HAVE_VDPRINTF, REPLACE_VDPRINTF.
+       * modules/stdio (Makefile.am): Substitute also GNULIB_VDPRINTF,
+       HAVE_VDPRINTF, REPLACE_VDPRINTF.
+       * doc/posix-functions/vdprintf.texi: Mention the new modules.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       Fix replacement of fopen on mingw.
+       * m4/fopen.m4 (gl_FUNC_FOPEN): Define FOPEN_TRAILING_SLASH_BUG also on
+       mingw.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error on HP-UX 11.00, present since 2008-09-24.
+       * lib/fopen.c: Include <sys/types.h> and <sys/types.h>.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test-fflush2.sh failure on mingw.
+       * tests/test-fflush2.c: Include binary-io.h.
+       (main): Put standard input into binary mode.
+       * modules/fflush-tests (Depends-on): Add binary-io.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/wchar.in.h: In another particular situation, include only the
+       system's <wchar.h> file.
+       (_GL_ALREADY_INCLUDING_WCHAR_H): New macro.
+       Reported by Albert Chin-A-Young <china@thewrittenword.com>
+       and Thomas Guyot-Sionnest <dermoth@aei.ca>.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       Support for stripping executables in --enable-relocatable.
+       * build-aux/install-reloc: Expect one more argument, or an environment
+       variable RELOC_STRIP_PROG. If set, strip the destination program and
+       its wrapper.
+       * m4/relocatable.m4 (gl_RELOCATABLE_BODY): In INSTALL_PROGRAM_ENV, set
+       RELOC_STRIP_PROG.
+       * doc/relocatable-maint.texi (Supporting Relocation): Mention the need
+       to set RELOCATABLE_STRIP.
+       * NEWS: Mention the new Makefile requirement.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       * build-aux/install-reloc: Remove debugging information left over by
+       C compiler on MacOS X.
+
+2009-01-17  Bruno Haible  <bruno@clisp.org>
+
+       Update use of _NSGetExecutablePath after API change in MacOS X 10.4.
+       * lib/progreloc.c (find_executable): Fix type of pointer passed to
+       _NSGetExecutablePath.
+
+2009-01-16  Jim Meyering  <meyering@redhat.com>
+
+       strerror: avoid warnings about discarding "const"
+       * lib/strerror.c (rpl_strerror): Instead of returning a const
+       string from each and every "case", use a variable, and add a single
+       cast after the switch.
+
+2009-01-16  Albert Chin-A-Young <china@thewrittenword.com>
+
+       * lib/arpa_inet.in.h: Add extern "C" block for C++.
+
+2009-01-16  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_SNPRINTF_SIZE1, gl_VSNPRINTF_ZEROSIZE_C99): Use an
+       array initializer syntax that also works in C++ mode.
+       Reported by Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
+
+2009-01-16  Jim Meyering  <meyering@redhat.com>
+
+       poll: suppress a warning
+       * lib/poll.c: Use #pragma GCC diagnostic ignored "-Wtype-limits"
+       to ignore "...unsigned expression < 0 is always false" warnings.
+
+2009-01-16  Daniel P. Berrange  <berrange@redhat.com>
+
+       poll: remove declarations of unused variables
+       * lib/poll.c (poll) [WIN32_NATIVE]: Remove declarations of unused
+       sockbuf and optlen.
+
+2009-01-15  Bruno Haible  <bruno@clisp.org>
+
+       Make fflush-after-ungetc POSIX compliant on BSD systems.
+       * lib/fflush.c (clear_ungetc_buffer_preserving_position): New function.
+       (clear_ungetc_buffer): Implement also for other systems.
+       (rpl_fflush): On glibc systems, invoke
+       clear_ungetc_buffer_preserving_position. Otherwise, invoke
+       clear_ungetc_buffer after fetching the stream's position, not before.
+
+2009-01-15  Bruno Haible  <bruno@clisp.org>
+
+       Make fflush-after-ungetc POSIX compliant on glibc systems.
+       * m4/fflush.m4 (gl_FUNC_FFLUSH): Test also the behaviour of fflush
+       after ungetc.
+       * lib/fflush.c (clear_ungetc_buffer): Implement for glibc systems.
+       (rpl_fflush): On glibc systems, simply call the system's fflush
+       function after clearing the ungetc buffer.
+       * lib/fseeko.c (rpl_fseeko): Don't try to lseek past the end of file.
+       Instead, lseek only to the end of file, then use the system's fseeko
+       for the rest. On glibc systems, reset the EOF indicator bit.
+
+2009-01-15  Jim Meyering  <meyering@redhat.com>
+
+       openmp.m4: revert quote-adding change, for portability to older autoconf
+       * m4/openmp.m4: Remove the quotes added on 2009-01-14.
+       This reverts part of 42d1eda5dcce2d68deab7a642e7f29bcd7144a0d.
+       Simon Josefsson noticed the problem when using autoconf-2.61.
+
+2009-01-15  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-fflush2.sh: Invoke test-fflush2 twice.
+       * tests/test-fflush2.c (ASSERT): Always fail.
+       (main): Add two tests for fflush() after ungetc(), taking into account
+       the Austin Group's clarification.
+       Suggested by Eric Blake.
+
+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.
 2008-12-21  Bruno Haible  <bruno@clisp.org>
 
        Make mbiter.h, mbuiter.h, mbfile.h usable unconditionally.
        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