Detect pseudo-denormals on x86 even when cross-compiling.
[gnulib.git] / ChangeLog
index 9cdaef1..127f9a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2007-12-11  Eric Blake  <ebb9@byu.net>
+
+       Detect pseudo-denormals on x86 even when cross-compiling.
+       * lib/isnan.c (rpl_isnanl) [!KNOWN_EXPBIT0_LOCATION
+       && USE_LONG_DOUBLE && x86]: Add one more check to filter out
+       invalid bit patterns that happen to satisfy ==.
+
+       Avoid link failures with separate libtests.a.
+       * gnulib-tool (func_emit_tests_Makefile_am): Also list local_ldadd
+       last, to satisfy circular dependencies.
+
+2007-12-11  Eric Blake  <ebb9@byu.net>
+       and Bruno Haible  <bruno@clisp.org>
+
+       Fix OpenBSD 4.0 <float.h> handling of long double.
+       * m4/float_h.m4 (gl_FLOAT_H): Also claim OpenBSD is broken.
+       * lib/float.in.h [__OpenBSD__]: Add fixes for OpenBSD.
+       * doc/headers/float.texi (float.h): Document OpenBSD bug.
+
+2007-12-11  Jim Meyering  <meyering@redhat.com>
+
+       * users.txt: Add libvirt.
+
+       Support versions of autoconf prior to 2.59c.
+       * gnulib-tool (func_emit_initmacro_done): Define m4_foreach_w
+       if it is not already defined.
+
+2007-12-09  Bruno Haible  <bruno@clisp.org>
+
+       Let 'gnulib-tool --import' collect sources needed for the tests in
+       tests/ rather than in lib/.
+       * gnulib-tool (func_emit_tests_Makefile_am): Accept use_libtests
+       argument. If true, add rules to generate libtests.a, and put libtests.a
+       into $(LDADD). Consider source files in subdirectories and set
+       uses_subdirs.
+       (func_emit_initmacro_start, func_emit_initmacro_end,
+       func_emit_initmacro_done): Pass all arguments explicitly.
+       (func_import): Determine two module lists main_modules,
+       testsrelated_modules. Determine use_libtests. Determine two variables
+       sed_transform_main_lib_file, sed_transform_testsrelated_lib_file
+       instead of just sed_transform_lib_file. Determine two variables
+       main_files and testsrelated_files. Compute 'files' as the union of
+       both. Adjust sed_rewrite_old_files, sed_rewrite_new_files,
+       func_add_or_update. In the generated gnulib-comp.m4, collect the
+       object files for tests/ in different variables than those for lib/.
+       Substitute LIBTESTS_LIBDEPS.
+       (func_create_testdir): Combine the uses_subdirs results from
+       func_emit_lib_Makefile_am and from func_emit_tests_Makefile_am.
+
+2007-12-09  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_tests_Makefile_am): Expand references to
+       the build-aux directory.
+
+2007-12-09  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_tests_Makefile_am): Remove redundant code
+       introduced on 2006-09-09.
+
+2007-12-07  Jim Meyering  <meyering@redhat.com>
+
+       Let these macros work also with autoconf-2.59.
+       * m4/getline.m4 (gl_FUNC_GETLINE): Require only autoconf-2.59.  2.60
+       is not needed, since gnulib now permits use of AC_CHECK_DECLS_ONCE.
+       * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise.
+
+2007-12-06  Jim Meyering  <meyering@redhat.com>
+
+       Avoid a configure-time syntax error in gl_FUNC_ACL.
+       * m4/acl.m4 (gl_FUNC_ACL): Be careful to check for the acl_trivial
+       function in each branch, before testing the cache variable.
+
+2007-12-04  Eric Blake  <ebb9@byu.net>
+
+       Make scripts executable.
+       * build-aux/config.guess: Add execute permissions.
+       * build-aux/config.sub: Likewise.
+       * build-aux/gendocs.sh: Likewise.
+
+       Fix frexp on mingw.
+       * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Detect mingw bug when
+       cross-compiling.
+       * doc/functions/frexp.texi (frexp): Document the bug.
+
+       Make cygwin fseeko check more reliable.
+       * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET) [__CYGWIN__]: Use cygwin
+       version numbers, rather than unrelated feature check.
+       * doc/functions/fseeko.texi (fseeko): Tweak failure report.
+       * doc/functions/ftello.texi (ftello): Likewise.
+       Reported by Bruno Haible.
+
+       * m4/strerror.m4: Bump version number.
+
+2007-12-03  Bruno Haible  <bruno@clisp.org>
+
+       * doc/functions/mprotect.texi: Mention the mingw problem.
+
+2007-12-03  Eric Blake  <ebb9@byu.net>
+
+       * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Ensure
+       REPLACE_STRERROR is initialized before this macro.
+
+2007-12-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Add support for Solaris 10 ACLs.  Also, ACLs are Gnulib, not Autoconf.
+       * modules/acl (configure.ac): Rename AC_FUNC_ACL to gl_FUNC_ACL.
+       * m4/acl.m4 (gl_FUNC_ACL): Renamed from AC_FUNC_ACL.  On Solaris,
+       put -lsec in even for programs other than 'ls'.  This fixes a problem
+       for gettext reported by Bruno Haible in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00007.html>.
+       * lib/acl.c (copy_acl, qset_acl) [USE_ACL && defined ACL_NO_TRIVIAL]:
+       Add support for Solaris 10.  This isn't efficient, but should get the
+       job done for now.
+
+2007-12-03  James Youngman  <jay@gnu.org>
+
+       * doc/regexprops-generic.texi: change "an close-group" to "a
+       close-group" and "illegal" to "not allowed".
+
+2007-11-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lib/unictype/pr_byname.c: Include unictype/pr_byname.h instead of
+       pr_byname.h. Needed for the rare case when the maintainer has done
+       "make maintainer-clean" in the source directory and then attempts a
+       build outside the source directory.
+       * lib/unictype/scripts.c: Include unictype/scripts_byname.h instead of
+       scripts_byname.h.
+
+2007-12-02  Martin Lambers <marlam@marlam.de>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/getpagesize.h: Remove file.
+       * lib/unistd.in.h: Include declaration of getpagesize here.
+       * m4/getpagesize.m4 (gl_FUNC_GETPAGESIZE): Renamed from gl_GETPAGESIZE.
+       Invoke gl_UNISTD_H_DEFAULTS. Set HAVE_GETPAGESIZE, HAVE_OS_H,
+       HAVE_SYS_PARAM_H.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_GETPAGESIZE,
+       HAVE_GETPAGESIZE, HAVE_OS_H, HAVE_SYS_PARAM_H.
+       * modules/getpagesize (Files): Remove lib/getpagesize.h.
+       (Depends-on): Add unistd.
+       (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR.
+       (Include): Use <unistd.h> instead of getpagesize.h.
+       * modules/unistd (Makefile.am): Substitute also GNULIB_GETPAGESIZE,
+       HAVE_GETPAGESIZE, HAVE_OS_H, HAVE_SYS_PARAM_H.
+       * m4/pagealign_alloc.m4 (gl_PREREQ_PAGEALIGN_ALLOC): Remove
+       gl_GETPAGESIZE invocation, already handled by module dependency.
+       * lib/pagealign_alloc.c: Don't include getpagesize.h.
+
+2007-12-02  Bruno Haible  <bruno@clisp.org>
+
+       * modules/strings-tests: New file.
+       * tests/test-strings.c: New file.
+
+       Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
+       * lib/strings.in.h: New file.
+       * lib/string.in.h (strcasecmp, strncasecmp): Remove declarations.
+       * m4/strings_h.m4: New file.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Remove initialization
+       of HAVE_STRCASECMP, HAVE_DECL_STRNCASECMP.
+       * modules/strings: New file.
+       * modules/string (Makefile.am): Update.
+       * modules/strcase (Include): Mention <strings.h>, not <string.h>.
+       Reported by Karl Berry.
+
+2007-12-01  Eric Blake  <ebb9@byu.net>
+
+       * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET) [__CYGWIN__]: Rewrite to
+       accomodate fix in cygwin 1.5.25.
+
+2007-12-01  Jim Meyering  <meyering@redhat.com>
+
+       Fix a bug that inhibited much of the utf8-optimization in regcomp.c.
+       * lib/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/,
+       that would inhibit utf8-optimization of a regexp containing line-
+       or buffer-anchors, e.g., `^', `$'.
+
+2007-11-30  Bruno Haible  <bruno@clisp.org>
+
+       * lib/lock.h (gl_recursive_lock_init) [PTHREAD &&
+       PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: Call
+       glthread_recursive_lock_init.
+       * lib/lock.c (glthread_recursive_lock_init)
+       [PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: New function.
+       Reported by Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
+
+2007-11-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       New function qset_acl, like set_acl but with syscall semantics.
+       * lib/acl.h (qset_acl): New decl.
+       * lib/acl.c (qset_acl): New function.
+       (set_acl): Use new function.  Use more-consistent diagnostics.
+
+2007-11-28  Jim Meyering  <meyering@redhat.com>
+
+       * modules/physmem (License): Change from GPL to LGPLv2+.
+
+2007-11-26  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (decode_long_double): Don't abort if the
+       'long double' type has excess precision.
+       Reported by Jim Meyering in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00120.html>.
+
+2007-11-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/fdl.texi, doc/gpl-3.0.texi, doc/lgpl-3.0.texi:
+       Sync from <http://gnu.org/licenses>.
+       * modules/agpl-3.0, doc/agpl-3.0.texi: New module,
+       with license text from same location.
+       * doc/maintain.texi, doc/standards.texi:  Sync from
+       <http://savannah.gnu.org/projects/gnustandards>.
+
+2007-11-22  Ondřej Vašík  <ovasik@redhat.com>
+       and Jim Meyering  <meyering@redhat.com>
+
+       Adjust getdate' grammar to accept a slightly more regular language.
+       E.g., accept "YYYYMMDD +N days" as well as "YYYYMMDD N days".
+       Before, the former was rejected.
+       * lib/getdate.y (digits_to_date_time): New function, factored
+       out of ...
+       (number): ...here.  Just call digits_to_date_time.
+       (hybrid): New non-terminal to handle an <unsigned number,
+       signed relative offset> sequence consistently.
+
+2007-11-18  Jim Meyering  <meyering@redhat.com>
+
+       Pull my changes from coreutils:
+       bootstrap: fix typo to enable use of $gnulib_tool_option_extras.
+       * build-aux/bootstrap (gnulib_tool_options): Add a space before the
+       use of $gnulib_tool_option_extras, so that it's separated from the
+       preceding argument.
+
+       Fix bootstrap failure to handle files like lib/uniwidth/cjk.h.
+       * build-aux/bootstrap (cp_mark_as_generated): Create any required
+       parent destination directories before copying a file into place.
+
+2007-11-18  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       bootstrap: work also with 4-argument variant of AC_INIT
+       * build-aux/bootstrap (gnulib_extra_files): Adjust sed command.
+
+2007-11-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port test-getaddrinfo to Solaris.
+       Problem reported by Bruno Haible in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00171.html>.
+       * tests/test-getaddrinfo.c (simple): Add a comment asking for an
+       explanation of setting 'hints'.
+       Don't reject an implementation merely because it returns EAI_SERVICE.
+       (EAI_SERVICE): Define to 0 if not defined.
+
+2007-11-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       The license of gnu-make and posix-shell is now "GPLed build tool".
+       * modules/gnu-make (License): Likewise.
+       * modules/posix-shell (License): Likewise.
+
+       New module posix-shell, for determining a POSIX shell
+       or perhaps something that is close enough to a POSIX shell.
+       * m4/posix-shell.m4: New file.
+       * modules/posix-shell: New file.
+
+       * MODULES.html.sh: Mention new module.
+
+       New module gnu-make, for determining whether we're using GNU Make.
+       * m4/gnu-make.m4: New file.
+       * modules/gnu-make: New file.
+       * MODULES.html.sh: Mention new module.
+
+2007-11-14  Jim Meyering  <meyering@redhat.com>
+
+       Define a sometimes-link-required function using ARGMATCH_DIE_DECL.
+       * tests/test-argmatch.c (ARGMATCH_DIE_DECL): When defined,
+       use this macro to create a function _definition_.
+       Remove useless "#undef ARGMATCH_DIE".
+
+2007-11-14  Bruno Haible  <bruno@clisp.org>
+
+       * lib/config.charset: Update for OpenBSD 4.1.
+       Reported and helped by Ben Pfaff <blp@cs.stanford.edu>.
+
+2007-11-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Document 64-bit #if problems in stdint.texi.
+       * doc/headers/stdint.texi (stdint.h): Mention problems with
+       64-bit-#if, and how to work around them.
+
+       Don't insist on 'long long int' support in the preprocessor.  It
+       breaks too many things.  For example, PRIdMAX still uses a 'long
+       long int' format with the latest Sun compiler, even though
+       HAVE_LONG_LONG_INT isn't defined due to that compiler's
+       preprocessor problem.  This causes the latest coreutils to dump
+       core on Solaris 10 sparc with the Sun C compiler.
+       Instead, fix the 2007-10-16 problem in a different way, by evaluating
+       the troublesome expressions at configure-time, not at #if-time.
+       * m4/longlong.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Don't test the
+       preprocessor.
+       * m4/inttypes.m4 (gl_INTTYPES_H): Move the #if checks into
+       compile-time C checks, done at 'configure'-time.
+       (gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION): New macro.
+       * modules/inttypes (Makefile): Substitute the new symbols that
+       gl_INTTYPES_H now generates.
+       * lib/inttypes.in.h: Don't use constants wider than 'long' in #if.
+
+2007-11-12  Bruno Haible  <bruno@clisp.org>
+
+       Tests for Unicode character classification functions.
+
+       * modules/unictype/bidicategory-byname-tests: New file.
+       * modules/unictype/bidicategory-name-tests: New file.
+       * modules/unictype/bidicategory-of-tests: New file.
+       * modules/unictype/bidicategory-test-tests: New file.
+       * modules/unictype/block-list-tests: New file.
+       * modules/unictype/block-of-tests: New file.
+       * modules/unictype/block-test-tests: New file.
+       * modules/unictype/category-C-tests: New file.
+       * modules/unictype/category-Cc-tests: New file.
+       * modules/unictype/category-Cf-tests: New file.
+       * modules/unictype/category-Cn-tests: New file.
+       * modules/unictype/category-Co-tests: New file.
+       * modules/unictype/category-Cs-tests: New file.
+       * modules/unictype/category-L-tests: New file.
+       * modules/unictype/category-Ll-tests: New file.
+       * modules/unictype/category-Lm-tests: New file.
+       * modules/unictype/category-Lo-tests: New file.
+       * modules/unictype/category-Lt-tests: New file.
+       * modules/unictype/category-Lu-tests: New file.
+       * modules/unictype/category-M-tests: New file.
+       * modules/unictype/category-Mc-tests: New file.
+       * modules/unictype/category-Me-tests: New file.
+       * modules/unictype/category-Mn-tests: New file.
+       * modules/unictype/category-N-tests: New file.
+       * modules/unictype/category-Nd-tests: New file.
+       * modules/unictype/category-Nl-tests: New file.
+       * modules/unictype/category-No-tests: New file.
+       * modules/unictype/category-P-tests: New file.
+       * modules/unictype/category-Pc-tests: New file.
+       * modules/unictype/category-Pd-tests: New file.
+       * modules/unictype/category-Pe-tests: New file.
+       * modules/unictype/category-Pf-tests: New file.
+       * modules/unictype/category-Pi-tests: New file.
+       * modules/unictype/category-Po-tests: New file.
+       * modules/unictype/category-Ps-tests: New file.
+       * modules/unictype/category-S-tests: New file.
+       * modules/unictype/category-Sc-tests: New file.
+       * modules/unictype/category-Sk-tests: New file.
+       * modules/unictype/category-Sm-tests: New file.
+       * modules/unictype/category-So-tests: New file.
+       * modules/unictype/category-Z-tests: New file.
+       * modules/unictype/category-Zl-tests: New file.
+       * modules/unictype/category-Zp-tests: New file.
+       * modules/unictype/category-Zs-tests: New file.
+       * modules/unictype/category-and-not-tests: New file.
+       * modules/unictype/category-and-tests: New file.
+       * modules/unictype/category-byname-tests: New file.
+       * modules/unictype/category-name-tests: New file.
+       * modules/unictype/category-none-tests: New file.
+       * modules/unictype/category-of-tests: New file.
+       * modules/unictype/category-or-tests: New file.
+       * modules/unictype/category-test-withtable-tests: New file.
+       * modules/unictype/combining-class-tests: New file.
+       * modules/unictype/ctype-alnum-tests: New file.
+       * modules/unictype/ctype-alpha-tests: New file.
+       * modules/unictype/ctype-blank-tests: New file.
+       * modules/unictype/ctype-cntrl-tests: New file.
+       * modules/unictype/ctype-digit-tests: New file.
+       * modules/unictype/ctype-graph-tests: New file.
+       * modules/unictype/ctype-lower-tests: New file.
+       * modules/unictype/ctype-print-tests: New file.
+       * modules/unictype/ctype-punct-tests: New file.
+       * modules/unictype/ctype-space-tests: New file.
+       * modules/unictype/ctype-upper-tests: New file.
+       * modules/unictype/ctype-xdigit-tests: New file.
+       * modules/unictype/decimal-digit-tests: New file.
+       * modules/unictype/digit-tests: New file.
+       * modules/unictype/mirror-tests: New file.
+       * modules/unictype/numeric-tests: New file.
+       * modules/unictype/property-alphabetic-tests: New file.
+       * modules/unictype/property-ascii-hex-digit-tests: New file.
+       * modules/unictype/property-bidi-arabic-digit-tests: New file.
+       * modules/unictype/property-bidi-arabic-right-to-left-tests: New file.
+       * modules/unictype/property-bidi-block-separator-tests: New file.
+       * modules/unictype/property-bidi-boundary-neutral-tests: New file.
+       * modules/unictype/property-bidi-common-separator-tests: New file.
+       * modules/unictype/property-bidi-control-tests: New file.
+       * modules/unictype/property-bidi-embedding-or-override-tests: New file.
+       * modules/unictype/property-bidi-eur-num-separator-tests: New file.
+       * modules/unictype/property-bidi-eur-num-terminator-tests: New file.
+       * modules/unictype/property-bidi-european-digit-tests: New file.
+       * modules/unictype/property-bidi-hebrew-right-to-left-tests: New file.
+       * modules/unictype/property-bidi-left-to-right-tests: New file.
+       * modules/unictype/property-bidi-non-spacing-mark-tests: New file.
+       * modules/unictype/property-bidi-other-neutral-tests: New file.
+       * modules/unictype/property-bidi-pdf-tests: New file.
+       * modules/unictype/property-bidi-segment-separator-tests: New file.
+       * modules/unictype/property-bidi-whitespace-tests: New file.
+       * modules/unictype/property-byname-tests: New file.
+       * modules/unictype/property-combining-tests: New file.
+       * modules/unictype/property-composite-tests: New file.
+       * modules/unictype/property-currency-symbol-tests: New file.
+       * modules/unictype/property-dash-tests: New file.
+       * modules/unictype/property-decimal-digit-tests: New file.
+       * modules/unictype/property-default-ignorable-code-point-tests: New file.
+       * modules/unictype/property-deprecated-tests: New file.
+       * modules/unictype/property-diacritic-tests: New file.
+       * modules/unictype/property-extender-tests: New file.
+       * modules/unictype/property-format-control-tests: New file.
+       * modules/unictype/property-grapheme-base-tests: New file.
+       * modules/unictype/property-grapheme-extend-tests: New file.
+       * modules/unictype/property-grapheme-link-tests: New file.
+       * modules/unictype/property-hex-digit-tests: New file.
+       * modules/unictype/property-hyphen-tests: New file.
+       * modules/unictype/property-id-continue-tests: New file.
+       * modules/unictype/property-id-start-tests: New file.
+       * modules/unictype/property-ideographic-tests: New file.
+       * modules/unictype/property-ids-binary-operator-tests: New file.
+       * modules/unictype/property-ids-trinary-operator-tests: New file.
+       * modules/unictype/property-ignorable-control-tests: New file.
+       * modules/unictype/property-iso-control-tests: New file.
+       * modules/unictype/property-join-control-tests: New file.
+       * modules/unictype/property-left-of-pair-tests: New file.
+       * modules/unictype/property-line-separator-tests: New file.
+       * modules/unictype/property-logical-order-exception-tests: New file.
+       * modules/unictype/property-lowercase-tests: New file.
+       * modules/unictype/property-math-tests: New file.
+       * modules/unictype/property-non-break-tests: New file.
+       * modules/unictype/property-not-a-character-tests: New file.
+       * modules/unictype/property-numeric-tests: New file.
+       * modules/unictype/property-other-alphabetic-tests: New file.
+       * modules/unictype/property-other-default-ignorable-code-point-tests: New file.
+       * modules/unictype/property-other-grapheme-extend-tests: New file.
+       * modules/unictype/property-other-id-continue-tests: New file.
+       * modules/unictype/property-other-id-start-tests: New file.
+       * modules/unictype/property-other-lowercase-tests: New file.
+       * modules/unictype/property-other-math-tests: New file.
+       * modules/unictype/property-other-uppercase-tests: New file.
+       * modules/unictype/property-paired-punctuation-tests: New file.
+       * modules/unictype/property-paragraph-separator-tests: New file.
+       * modules/unictype/property-pattern-syntax-tests: New file.
+       * modules/unictype/property-pattern-white-space-tests: New file.
+       * modules/unictype/property-private-use-tests: New file.
+       * modules/unictype/property-punctuation-tests: New file.
+       * modules/unictype/property-quotation-mark-tests: New file.
+       * modules/unictype/property-radical-tests: New file.
+       * modules/unictype/property-sentence-terminal-tests: New file.
+       * modules/unictype/property-soft-dotted-tests: New file.
+       * modules/unictype/property-space-tests: New file.
+       * modules/unictype/property-terminal-punctuation-tests: New file.
+       * modules/unictype/property-test-tests: New file.
+       * modules/unictype/property-titlecase-tests: New file.
+       * modules/unictype/property-unassigned-code-value-tests: New file.
+       * modules/unictype/property-unified-ideograph-tests: New file.
+       * modules/unictype/property-uppercase-tests: New file.
+       * modules/unictype/property-variation-selector-tests: New file.
+       * modules/unictype/property-white-space-tests: New file.
+       * modules/unictype/property-xid-continue-tests: New file.
+       * modules/unictype/property-xid-start-tests: New file.
+       * modules/unictype/property-zero-width-tests: New file.
+       * modules/unictype/scripts-tests: New file.
+       * modules/unictype/syntax-c-ident-tests: New file.
+       * modules/unictype/syntax-c-whitespace-tests: New file.
+       * modules/unictype/syntax-java-ident-tests: New file.
+       * modules/unictype/syntax-java-whitespace-tests: New file.
+       * tests/unictype/test-bidi_byname.c: New file.
+       * tests/unictype/test-bidi_name.c: New file.
+       * tests/unictype/test-bidi_of.c: New file.
+       * tests/unictype/test-bidi_test.c: New file.
+       * tests/unictype/test-block_list.c: New file.
+       * tests/unictype/test-block_of.c: New file.
+       * tests/unictype/test-block_test.c: New file.
+       * tests/unictype/test-categ_and.c: New file.
+       * tests/unictype/test-categ_and_not.c: New file.
+       * tests/unictype/test-categ_byname.c: New file.
+       * tests/unictype/test-categ_name.c: New file.
+       * tests/unictype/test-categ_none.c: New file.
+       * tests/unictype/test-categ_of.c: New file.
+       * tests/unictype/test-categ_or.c: New file.
+       * tests/unictype/test-categ_test_withtable.c: New file.
+       * tests/unictype/test-combining.c: New file.
+       * tests/unictype/test-decdigit.c: New file.
+       * tests/unictype/test-digit.c: New file.
+       * tests/unictype/test-mirror.c: New file.
+       * tests/unictype/test-numeric.c: New file.
+       * tests/unictype/test-pr_byname.c: New file.
+       * tests/unictype/test-pr_test.c: New file.
+       * tests/unictype/test-predicate-part1.h: New file.
+       * tests/unictype/test-predicate-part2.h: New file.
+       * tests/unictype/test-scripts.c: New file.
+       * tests/unictype/test-sy_c_ident.c: New file.
+       * tests/unictype/test-sy_java_ident.c: New file.
+
+       * tests/unictype/test-categ_C.c: New file, generated by gen-ctype.c
+       for Unicode 5.0.0.
+       * tests/unictype/test-categ_Cc.c: Likewise.
+       * tests/unictype/test-categ_Cf.c: Likewise.
+       * tests/unictype/test-categ_Cn.c: Likewise.
+       * tests/unictype/test-categ_Co.c: Likewise.
+       * tests/unictype/test-categ_Cs.c: Likewise.
+       * tests/unictype/test-categ_L.c: Likewise.
+       * tests/unictype/test-categ_Ll.c: Likewise.
+       * tests/unictype/test-categ_Lm.c: Likewise.
+       * tests/unictype/test-categ_Lo.c: Likewise.
+       * tests/unictype/test-categ_Lt.c: Likewise.
+       * tests/unictype/test-categ_Lu.c: Likewise.
+       * tests/unictype/test-categ_M.c: Likewise.
+       * tests/unictype/test-categ_Mc.c: Likewise.
+       * tests/unictype/test-categ_Me.c: Likewise.
+       * tests/unictype/test-categ_Mn.c: Likewise.
+       * tests/unictype/test-categ_N.c: Likewise.
+       * tests/unictype/test-categ_Nd.c: Likewise.
+       * tests/unictype/test-categ_Nl.c: Likewise.
+       * tests/unictype/test-categ_No.c: Likewise.
+       * tests/unictype/test-categ_P.c: Likewise.
+       * tests/unictype/test-categ_Pc.c: Likewise.
+       * tests/unictype/test-categ_Pd.c: Likewise.
+       * tests/unictype/test-categ_Pe.c: Likewise.
+       * tests/unictype/test-categ_Pf.c: Likewise.
+       * tests/unictype/test-categ_Pi.c: Likewise.
+       * tests/unictype/test-categ_Po.c: Likewise.
+       * tests/unictype/test-categ_Ps.c: Likewise.
+       * tests/unictype/test-categ_S.c: Likewise.
+       * tests/unictype/test-categ_Sc.c: Likewise.
+       * tests/unictype/test-categ_Sk.c: Likewise.
+       * tests/unictype/test-categ_Sm.c: Likewise.
+       * tests/unictype/test-categ_So.c: Likewise.
+       * tests/unictype/test-categ_Z.c: Likewise.
+       * tests/unictype/test-categ_Zl.c: Likewise.
+       * tests/unictype/test-categ_Zp.c: Likewise.
+       * tests/unictype/test-categ_Zs.c: Likewise.
+       * tests/unictype/test-ctype_alnum.c: Likewise.
+       * tests/unictype/test-ctype_alpha.c: Likewise.
+       * tests/unictype/test-ctype_blank.c: Likewise.
+       * tests/unictype/test-ctype_cntrl.c: Likewise.
+       * tests/unictype/test-ctype_digit.c: Likewise.
+       * tests/unictype/test-ctype_graph.c: Likewise.
+       * tests/unictype/test-ctype_lower.c: Likewise.
+       * tests/unictype/test-ctype_print.c: Likewise.
+       * tests/unictype/test-ctype_punct.c: Likewise.
+       * tests/unictype/test-ctype_space.c: Likewise.
+       * tests/unictype/test-ctype_upper.c: Likewise.
+       * tests/unictype/test-ctype_xdigit.c: Likewise.
+       * tests/unictype/test-decdigit.h: Likewise.
+       * tests/unictype/test-digit.h: Likewise.
+       * tests/unictype/test-numeric.h: Likewise.
+       * tests/unictype/test-pr_alphabetic.c: Likewise.
+       * tests/unictype/test-pr_ascii_hex_digit.c: Likewise.
+       * tests/unictype/test-pr_bidi_arabic_digit.c: Likewise.
+       * tests/unictype/test-pr_bidi_arabic_right_to_left.c: Likewise.
+       * tests/unictype/test-pr_bidi_block_separator.c: Likewise.
+       * tests/unictype/test-pr_bidi_boundary_neutral.c: Likewise.
+       * tests/unictype/test-pr_bidi_common_separator.c: Likewise.
+       * tests/unictype/test-pr_bidi_control.c: Likewise.
+       * tests/unictype/test-pr_bidi_embedding_or_override.c: Likewise.
+       * tests/unictype/test-pr_bidi_eur_num_separator.c: Likewise.
+       * tests/unictype/test-pr_bidi_eur_num_terminator.c: Likewise.
+       * tests/unictype/test-pr_bidi_european_digit.c: Likewise.
+       * tests/unictype/test-pr_bidi_hebrew_right_to_left.c: Likewise.
+       * tests/unictype/test-pr_bidi_left_to_right.c: Likewise.
+       * tests/unictype/test-pr_bidi_non_spacing_mark.c: Likewise.
+       * tests/unictype/test-pr_bidi_other_neutral.c: Likewise.
+       * tests/unictype/test-pr_bidi_pdf.c: Likewise.
+       * tests/unictype/test-pr_bidi_segment_separator.c: Likewise.
+       * tests/unictype/test-pr_bidi_whitespace.c: Likewise.
+       * tests/unictype/test-pr_combining.c: Likewise.
+       * tests/unictype/test-pr_composite.c: Likewise.
+       * tests/unictype/test-pr_currency_symbol.c: Likewise.
+       * tests/unictype/test-pr_dash.c: Likewise.
+       * tests/unictype/test-pr_decimal_digit.c: Likewise.
+       * tests/unictype/test-pr_default_ignorable_code_point.c: Likewise.
+       * tests/unictype/test-pr_deprecated.c: Likewise.
+       * tests/unictype/test-pr_diacritic.c: Likewise.
+       * tests/unictype/test-pr_extender.c: Likewise.
+       * tests/unictype/test-pr_format_control.c: Likewise.
+       * tests/unictype/test-pr_grapheme_base.c: Likewise.
+       * tests/unictype/test-pr_grapheme_extend.c: Likewise.
+       * tests/unictype/test-pr_grapheme_link.c: Likewise.
+       * tests/unictype/test-pr_hex_digit.c: Likewise.
+       * tests/unictype/test-pr_hyphen.c: Likewise.
+       * tests/unictype/test-pr_id_continue.c: Likewise.
+       * tests/unictype/test-pr_id_start.c: Likewise.
+       * tests/unictype/test-pr_ideographic.c: Likewise.
+       * tests/unictype/test-pr_ids_binary_operator.c: Likewise.
+       * tests/unictype/test-pr_ids_trinary_operator.c: Likewise.
+       * tests/unictype/test-pr_ignorable_control.c: Likewise.
+       * tests/unictype/test-pr_iso_control.c: Likewise.
+       * tests/unictype/test-pr_join_control.c: Likewise.
+       * tests/unictype/test-pr_left_of_pair.c: Likewise.
+       * tests/unictype/test-pr_line_separator.c: Likewise.
+       * tests/unictype/test-pr_logical_order_exception.c: Likewise.
+       * tests/unictype/test-pr_lowercase.c: Likewise.
+       * tests/unictype/test-pr_math.c: Likewise.
+       * tests/unictype/test-pr_non_break.c: Likewise.
+       * tests/unictype/test-pr_not_a_character.c: Likewise.
+       * tests/unictype/test-pr_numeric.c: Likewise.
+       * tests/unictype/test-pr_other_alphabetic.c: Likewise.
+       * tests/unictype/test-pr_other_default_ignorable_code_point.c: Likewise.
+       * tests/unictype/test-pr_other_grapheme_extend.c: Likewise.
+       * tests/unictype/test-pr_other_id_continue.c: Likewise.
+       * tests/unictype/test-pr_other_id_start.c: Likewise.
+       * tests/unictype/test-pr_other_lowercase.c: Likewise.
+       * tests/unictype/test-pr_other_math.c: Likewise.
+       * tests/unictype/test-pr_other_uppercase.c: Likewise.
+       * tests/unictype/test-pr_paired_punctuation.c: Likewise.
+       * tests/unictype/test-pr_paragraph_separator.c: Likewise.
+       * tests/unictype/test-pr_pattern_syntax.c: Likewise.
+       * tests/unictype/test-pr_pattern_white_space.c: Likewise.
+       * tests/unictype/test-pr_private_use.c: Likewise.
+       * tests/unictype/test-pr_punctuation.c: Likewise.
+       * tests/unictype/test-pr_quotation_mark.c: Likewise.
+       * tests/unictype/test-pr_radical.c: Likewise.
+       * tests/unictype/test-pr_sentence_terminal.c: Likewise.
+       * tests/unictype/test-pr_soft_dotted.c: Likewise.
+       * tests/unictype/test-pr_space.c: Likewise.
+       * tests/unictype/test-pr_terminal_punctuation.c: Likewise.
+       * tests/unictype/test-pr_titlecase.c: Likewise.
+       * tests/unictype/test-pr_unassigned_code_value.c: Likewise.
+       * tests/unictype/test-pr_unified_ideograph.c: Likewise.
+       * tests/unictype/test-pr_uppercase.c: Likewise.
+       * tests/unictype/test-pr_variation_selector.c: Likewise.
+       * tests/unictype/test-pr_white_space.c: Likewise.
+       * tests/unictype/test-pr_xid_continue.c: Likewise.
+       * tests/unictype/test-pr_xid_start.c: Likewise.
+       * tests/unictype/test-pr_zero_width.c: Likewise.
+       * tests/unictype/test-sy_c_whitespace.c: Likewise.
+       * tests/unictype/test-sy_java_whitespace.c: Likewise.
+
+2007-11-12  Bruno Haible  <bruno@clisp.org>
+
+       Unicode character classification functions.
+       * lib/unictype.h: New file.
+       * modules/unictype/base: New file.
+       * modules/unictype/category-L: New file.
+       * modules/unictype/category-Lu: New file.
+       * modules/unictype/category-Ll: New file.
+       * modules/unictype/category-Lt: New file.
+       * modules/unictype/category-Lm: New file.
+       * modules/unictype/category-Lo: New file.
+       * modules/unictype/category-M: New file.
+       * modules/unictype/category-Mn: New file.
+       * modules/unictype/category-Mc: New file.
+       * modules/unictype/category-Me: New file.
+       * modules/unictype/category-N: New file.
+       * modules/unictype/category-Nd: New file.
+       * modules/unictype/category-Nl: New file.
+       * modules/unictype/category-No: New file.
+       * modules/unictype/category-P: New file.
+       * modules/unictype/category-Pc: New file.
+       * modules/unictype/category-Pd: New file.
+       * modules/unictype/category-Ps: New file.
+       * modules/unictype/category-Pe: New file.
+       * modules/unictype/category-Pi: New file.
+       * modules/unictype/category-Pf: New file.
+       * modules/unictype/category-Po: New file.
+       * modules/unictype/category-S: New file.
+       * modules/unictype/category-Sm: New file.
+       * modules/unictype/category-Sc: New file.
+       * modules/unictype/category-Sk: New file.
+       * modules/unictype/category-So: New file.
+       * modules/unictype/category-Z: New file.
+       * modules/unictype/category-Zs: New file.
+       * modules/unictype/category-Zl: New file.
+       * modules/unictype/category-Zp: New file.
+       * modules/unictype/category-C: New file.
+       * modules/unictype/category-Cc: New file.
+       * modules/unictype/category-Cf: New file.
+       * modules/unictype/category-Cs: New file.
+       * modules/unictype/category-Co: New file.
+       * modules/unictype/category-Cn: New file.
+       * modules/unictype/category-or: New file.
+       * modules/unictype/category-of: New file.
+       * modules/unictype/category-test: New file.
+       * modules/unictype/category-test-withtable: New file.
+       * modules/unictype/category-byname: New file.
+       * modules/unictype/category-none: New file.
+       * modules/unictype/category-and: New file.
+       * modules/unictype/category-and-not: New file.
+       * modules/unictype/category-name: New file.
+       * modules/unictype/combining-class: New file.
+       * modules/unictype/category-all: New file.
+       * modules/unictype/bidicategory-all: New file.
+       * modules/unictype/bidicategory-byname: New file.
+       * modules/unictype/bidicategory-name: New file.
+       * modules/unictype/bidicategory-of: New file.
+       * modules/unictype/bidicategory-test: New file.
+       * modules/unictype/decimal-digit: New file.
+       * modules/unictype/digit: New file.
+       * modules/unictype/numeric: New file.
+       * modules/unictype/mirror: New file.
+       * modules/unictype/property-white-space: New file.
+       * modules/unictype/property-alphabetic: New file.
+       * modules/unictype/property-other-alphabetic: New file.
+       * modules/unictype/property-not-a-character: New file.
+       * modules/unictype/property-default-ignorable-code-point: New file.
+       * modules/unictype/property-other-default-ignorable-code-point: New
+       file.
+       * modules/unictype/property-deprecated: New file.
+       * modules/unictype/property-logical-order-exception: New file.
+       * modules/unictype/property-variation-selector: New file.
+       * modules/unictype/property-private-use: New file.
+       * modules/unictype/property-unassigned-code-value: New file.
+       * modules/unictype/property-uppercase: New file.
+       * modules/unictype/property-other-uppercase: New file.
+       * modules/unictype/property-lowercase: New file.
+       * modules/unictype/property-other-lowercase: New file.
+       * modules/unictype/property-titlecase: New file.
+       * modules/unictype/property-soft-dotted: New file.
+       * modules/unictype/property-id-start: New file.
+       * modules/unictype/property-other-id-start: New file.
+       * modules/unictype/property-id-continue: New file.
+       * modules/unictype/property-other-id-continue: New file.
+       * modules/unictype/property-xid-start: New file.
+       * modules/unictype/property-xid-continue: New file.
+       * modules/unictype/property-pattern-white-space: New file.
+       * modules/unictype/property-pattern-syntax: New file.
+       * modules/unictype/property-join-control: New file.
+       * modules/unictype/property-grapheme-base: New file.
+       * modules/unictype/property-grapheme-extend: New file.
+       * modules/unictype/property-other-grapheme-extend: New file.
+       * modules/unictype/property-grapheme-link: New file.
+       * modules/unictype/property-bidi-control: New file.
+       * modules/unictype/property-bidi-left-to-right: New file.
+       * modules/unictype/property-bidi-hebrew-right-to-left: New file.
+       * modules/unictype/property-bidi-arabic-right-to-left: New file.
+       * modules/unictype/property-bidi-european-digit: New file.
+       * modules/unictype/property-bidi-eur-num-separator: New file.
+       * modules/unictype/property-bidi-eur-num-terminator: New file.
+       * modules/unictype/property-bidi-arabic-digit: New file.
+       * modules/unictype/property-bidi-common-separator: New file.
+       * modules/unictype/property-bidi-block-separator: New file.
+       * modules/unictype/property-bidi-segment-separator: New file.
+       * modules/unictype/property-bidi-whitespace: New file.
+       * modules/unictype/property-bidi-non-spacing-mark: New file.
+       * modules/unictype/property-bidi-boundary-neutral: New file.
+       * modules/unictype/property-bidi-pdf: New file.
+       * modules/unictype/property-bidi-embedding-or-override: New file.
+       * modules/unictype/property-bidi-other-neutral: New file.
+       * modules/unictype/property-hex-digit: New file.
+       * modules/unictype/property-ascii-hex-digit: New file.
+       * modules/unictype/property-ideographic: New file.
+       * modules/unictype/property-unified-ideograph: New file.
+       * modules/unictype/property-radical: New file.
+       * modules/unictype/property-ids-binary-operator: New file.
+       * modules/unictype/property-ids-trinary-operator: New file.
+       * modules/unictype/property-zero-width: New file.
+       * modules/unictype/property-space: New file.
+       * modules/unictype/property-non-break: New file.
+       * modules/unictype/property-iso-control: New file.
+       * modules/unictype/property-format-control: New file.
+       * modules/unictype/property-dash: New file.
+       * modules/unictype/property-hyphen: New file.
+       * modules/unictype/property-punctuation: New file.
+       * modules/unictype/property-line-separator: New file.
+       * modules/unictype/property-paragraph-separator: New file.
+       * modules/unictype/property-quotation-mark: New file.
+       * modules/unictype/property-sentence-terminal: New file.
+       * modules/unictype/property-terminal-punctuation: New file.
+       * modules/unictype/property-currency-symbol: New file.
+       * modules/unictype/property-math: New file.
+       * modules/unictype/property-other-math: New file.
+       * modules/unictype/property-paired-punctuation: New file.
+       * modules/unictype/property-left-of-pair: New file.
+       * modules/unictype/property-combining: New file.
+       * modules/unictype/property-composite: New file.
+       * modules/unictype/property-decimal-digit: New file.
+       * modules/unictype/property-numeric: New file.
+       * modules/unictype/property-diacritic: New file.
+       * modules/unictype/property-extender: New file.
+       * modules/unictype/property-ignorable-control: New file.
+       * modules/unictype/property-test: New file.
+       * modules/unictype/property-byname: New file.
+       * modules/unictype/property-all: New file.
+       * modules/unictype/scripts: New file.
+       * modules/unictype/scripts-all: New file.
+       * modules/unictype/block-of: New file.
+       * modules/unictype/block-test: New file.
+       * modules/unictype/block-list: New file.
+       * modules/unictype/block-all: New file.
+       * modules/unictype/syntax-c-whitespace: New file.
+       * modules/unictype/syntax-java-whitespace: New file.
+       * modules/unictype/syntax-c-ident: New file.
+       * modules/unictype/syntax-java-ident: New file.
+       * modules/unictype/ctype-alnum: New file.
+       * modules/unictype/ctype-alpha: New file.
+       * modules/unictype/ctype-cntrl: New file.
+       * modules/unictype/ctype-digit: New file.
+       * modules/unictype/ctype-graph: New file.
+       * modules/unictype/ctype-lower: New file.
+       * modules/unictype/ctype-print: New file.
+       * modules/unictype/ctype-punct: New file.
+       * modules/unictype/ctype-space: New file.
+       * modules/unictype/ctype-upper: New file.
+       * modules/unictype/ctype-xdigit: New file.
+       * modules/unictype/ctype-blank: New file.
+       * lib/unictype/bidi_byname.c: New file.
+       * lib/unictype/bidi_name.c: New file.
+       * lib/unictype/bidi_of.c: New file.
+       * lib/unictype/bidi_test.c: New file.
+       * lib/unictype/bitmap.h: New file.
+       * lib/unictype/block_test.c: New file.
+       * lib/unictype/blocks.c: New file.
+       * lib/unictype/categ_C.c: New file.
+       * lib/unictype/categ_Cc.c: New file.
+       * lib/unictype/categ_Cf.c: New file.
+       * lib/unictype/categ_Cn.c: New file.
+       * lib/unictype/categ_Co.c: New file.
+       * lib/unictype/categ_Cs.c: New file.
+       * lib/unictype/categ_L.c: New file.
+       * lib/unictype/categ_Ll.c: New file.
+       * lib/unictype/categ_Lm.c: New file.
+       * lib/unictype/categ_Lo.c: New file.
+       * lib/unictype/categ_Lt.c: New file.
+       * lib/unictype/categ_Lu.c: New file.
+       * lib/unictype/categ_M.c: New file.
+       * lib/unictype/categ_Mc.c: New file.
+       * lib/unictype/categ_Me.c: New file.
+       * lib/unictype/categ_Mn.c: New file.
+       * lib/unictype/categ_N.c: New file.
+       * lib/unictype/categ_Nd.c: New file.
+       * lib/unictype/categ_Nl.c: New file.
+       * lib/unictype/categ_No.c: New file.
+       * lib/unictype/categ_P.c: New file.
+       * lib/unictype/categ_Pc.c: New file.
+       * lib/unictype/categ_Pd.c: New file.
+       * lib/unictype/categ_Pe.c: New file.
+       * lib/unictype/categ_Pf.c: New file.
+       * lib/unictype/categ_Pi.c: New file.
+       * lib/unictype/categ_Po.c: New file.
+       * lib/unictype/categ_Ps.c: New file.
+       * lib/unictype/categ_S.c: New file.
+       * lib/unictype/categ_Sc.c: New file.
+       * lib/unictype/categ_Sk.c: New file.
+       * lib/unictype/categ_Sm.c: New file.
+       * lib/unictype/categ_So.c: New file.
+       * lib/unictype/categ_Z.c: New file.
+       * lib/unictype/categ_Zl.c: New file.
+       * lib/unictype/categ_Zp.c: New file.
+       * lib/unictype/categ_Zs.c: New file.
+       * lib/unictype/categ_and.c: New file.
+       * lib/unictype/categ_and_not.c: New file.
+       * lib/unictype/categ_byname.c: New file.
+       * lib/unictype/categ_name.c: New file.
+       * lib/unictype/categ_none.c: New file.
+       * lib/unictype/categ_of.c: New file.
+       * lib/unictype/categ_or.c: New file.
+       * lib/unictype/categ_test.c: New file.
+       * lib/unictype/combining.c: New file.
+       * lib/unictype/ctype_alnum.c: New file.
+       * lib/unictype/ctype_alpha.c: New file.
+       * lib/unictype/ctype_blank.c: New file.
+       * lib/unictype/ctype_cntrl.c: New file.
+       * lib/unictype/ctype_digit.c: New file.
+       * lib/unictype/ctype_graph.c: New file.
+       * lib/unictype/ctype_lower.c: New file.
+       * lib/unictype/ctype_print.c: New file.
+       * lib/unictype/ctype_punct.c: New file.
+       * lib/unictype/ctype_space.c: New file.
+       * lib/unictype/ctype_upper.c: New file.
+       * lib/unictype/ctype_xdigit.c: New file.
+       * lib/unictype/decdigit.c: New file.
+       * lib/unictype/digit.c: New file.
+       * lib/unictype/identsyntaxmap.h: New file.
+       * lib/unictype/mirror.c: New file.
+       * lib/unictype/numeric.c: New file.
+       * lib/unictype/pr_alphabetic.c: New file.
+       * lib/unictype/pr_ascii_hex_digit.c: New file.
+       * lib/unictype/pr_bidi_arabic_digit.c: New file.
+       * lib/unictype/pr_bidi_arabic_right_to_left.c: New file.
+       * lib/unictype/pr_bidi_block_separator.c: New file.
+       * lib/unictype/pr_bidi_boundary_neutral.c: New file.
+       * lib/unictype/pr_bidi_common_separator.c: New file.
+       * lib/unictype/pr_bidi_control.c: New file.
+       * lib/unictype/pr_bidi_embedding_or_override.c: New file.
+       * lib/unictype/pr_bidi_eur_num_separator.c: New file.
+       * lib/unictype/pr_bidi_eur_num_terminator.c: New file.
+       * lib/unictype/pr_bidi_european_digit.c: New file.
+       * lib/unictype/pr_bidi_hebrew_right_to_left.c: New file.
+       * lib/unictype/pr_bidi_left_to_right.c: New file.
+       * lib/unictype/pr_bidi_non_spacing_mark.c: New file.
+       * lib/unictype/pr_bidi_other_neutral.c: New file.
+       * lib/unictype/pr_bidi_pdf.c: New file.
+       * lib/unictype/pr_bidi_segment_separator.c: New file.
+       * lib/unictype/pr_bidi_whitespace.c: New file.
+       * lib/unictype/pr_byname.c: New file.
+       * lib/unictype/pr_byname.gperf: New file.
+       * lib/unictype/pr_combining.c: New file.
+       * lib/unictype/pr_composite.c: New file.
+       * lib/unictype/pr_currency_symbol.c: New file.
+       * lib/unictype/pr_dash.c: New file.
+       * lib/unictype/pr_decimal_digit.c: New file.
+       * lib/unictype/pr_default_ignorable_code_point.c: New file.
+       * lib/unictype/pr_deprecated.c: New file.
+       * lib/unictype/pr_diacritic.c: New file.
+       * lib/unictype/pr_extender.c: New file.
+       * lib/unictype/pr_format_control.c: New file.
+       * lib/unictype/pr_grapheme_base.c: New file.
+       * lib/unictype/pr_grapheme_extend.c: New file.
+       * lib/unictype/pr_grapheme_link.c: New file.
+       * lib/unictype/pr_hex_digit.c: New file.
+       * lib/unictype/pr_hyphen.c: New file.
+       * lib/unictype/pr_id_continue.c: New file.
+       * lib/unictype/pr_id_start.c: New file.
+       * lib/unictype/pr_ideographic.c: New file.
+       * lib/unictype/pr_ids_binary_operator.c: New file.
+       * lib/unictype/pr_ids_trinary_operator.c: New file.
+       * lib/unictype/pr_ignorable_control.c: New file.
+       * lib/unictype/pr_iso_control.c: New file.
+       * lib/unictype/pr_join_control.c: New file.
+       * lib/unictype/pr_left_of_pair.c: New file.
+       * lib/unictype/pr_line_separator.c: New file.
+       * lib/unictype/pr_logical_order_exception.c: New file.
+       * lib/unictype/pr_lowercase.c: New file.
+       * lib/unictype/pr_math.c: New file.
+       * lib/unictype/pr_non_break.c: New file.
+       * lib/unictype/pr_not_a_character.c: New file.
+       * lib/unictype/pr_numeric.c: New file.
+       * lib/unictype/pr_other_alphabetic.c: New file.
+       * lib/unictype/pr_other_default_ignorable_code_point.c: New file.
+       * lib/unictype/pr_other_grapheme_extend.c: New file.
+       * lib/unictype/pr_other_id_continue.c: New file.
+       * lib/unictype/pr_other_id_start.c: New file.
+       * lib/unictype/pr_other_lowercase.c: New file.
+       * lib/unictype/pr_other_math.c: New file.
+       * lib/unictype/pr_other_uppercase.c: New file.
+       * lib/unictype/pr_paired_punctuation.c: New file.
+       * lib/unictype/pr_paragraph_separator.c: New file.
+       * lib/unictype/pr_pattern_syntax.c: New file.
+       * lib/unictype/pr_pattern_white_space.c: New file.
+       * lib/unictype/pr_private_use.c: New file.
+       * lib/unictype/pr_punctuation.c: New file.
+       * lib/unictype/pr_quotation_mark.c: New file.
+       * lib/unictype/pr_radical.c: New file.
+       * lib/unictype/pr_sentence_terminal.c: New file.
+       * lib/unictype/pr_soft_dotted.c: New file.
+       * lib/unictype/pr_space.c: New file.
+       * lib/unictype/pr_terminal_punctuation.c: New file.
+       * lib/unictype/pr_test.c: New file.
+       * lib/unictype/pr_titlecase.c: New file.
+       * lib/unictype/pr_unassigned_code_value.c: New file.
+       * lib/unictype/pr_unified_ideograph.c: New file.
+       * lib/unictype/pr_uppercase.c: New file.
+       * lib/unictype/pr_variation_selector.c: New file.
+       * lib/unictype/pr_white_space.c: New file.
+       * lib/unictype/pr_xid_continue.c: New file.
+       * lib/unictype/pr_xid_start.c: New file.
+       * lib/unictype/pr_zero_width.c: New file.
+       * lib/unictype/scripts.c: New file.
+       * lib/unictype/sy_c_ident.c: New file.
+       * lib/unictype/sy_c_whitespace.c: New file.
+       * lib/unictype/sy_java_ident.c: New file.
+       * lib/unictype/sy_java_whitespace.c: New file.
+
+       * lib/unictype/bidi_of.h: New file, generated by gen-ctype.c for
+       Unicode 5.0.0.
+       * lib/unictype/blocks.h: Likewise.
+       * lib/unictype/categ_C.h: Likewise.
+       * lib/unictype/categ_Cc.h: Likewise.
+       * lib/unictype/categ_Cf.h: Likewise.
+       * lib/unictype/categ_Cn.h: Likewise.
+       * lib/unictype/categ_Co.h: Likewise.
+       * lib/unictype/categ_Cs.h: Likewise.
+       * lib/unictype/categ_L.h: Likewise.
+       * lib/unictype/categ_Ll.h: Likewise.
+       * lib/unictype/categ_Lm.h: Likewise.
+       * lib/unictype/categ_Lo.h: Likewise.
+       * lib/unictype/categ_Lt.h: Likewise.
+       * lib/unictype/categ_Lu.h: Likewise.
+       * lib/unictype/categ_M.h: Likewise.
+       * lib/unictype/categ_Mc.h: Likewise.
+       * lib/unictype/categ_Me.h: Likewise.
+       * lib/unictype/categ_Mn.h: Likewise.
+       * lib/unictype/categ_N.h: Likewise.
+       * lib/unictype/categ_Nd.h: Likewise.
+       * lib/unictype/categ_Nl.h: Likewise.
+       * lib/unictype/categ_No.h: Likewise.
+       * lib/unictype/categ_P.h: Likewise.
+       * lib/unictype/categ_Pc.h: Likewise.
+       * lib/unictype/categ_Pd.h: Likewise.
+       * lib/unictype/categ_Pe.h: Likewise.
+       * lib/unictype/categ_Pf.h: Likewise.
+       * lib/unictype/categ_Pi.h: Likewise.
+       * lib/unictype/categ_Po.h: Likewise.
+       * lib/unictype/categ_Ps.h: Likewise.
+       * lib/unictype/categ_S.h: Likewise.
+       * lib/unictype/categ_Sc.h: Likewise.
+       * lib/unictype/categ_Sk.h: Likewise.
+       * lib/unictype/categ_Sm.h: Likewise.
+       * lib/unictype/categ_So.h: Likewise.
+       * lib/unictype/categ_Z.h: Likewise.
+       * lib/unictype/categ_Zl.h: Likewise.
+       * lib/unictype/categ_Zp.h: Likewise.
+       * lib/unictype/categ_Zs.h: Likewise.
+       * lib/unictype/categ_of.h: Likewise.
+       * lib/unictype/combining.h: Likewise.
+       * lib/unictype/ctype_alnum.h: Likewise.
+       * lib/unictype/ctype_alpha.h: Likewise.
+       * lib/unictype/ctype_blank.h: Likewise.
+       * lib/unictype/ctype_cntrl.h: Likewise.
+       * lib/unictype/ctype_digit.h: Likewise.
+       * lib/unictype/ctype_graph.h: Likewise.
+       * lib/unictype/ctype_lower.h: Likewise.
+       * lib/unictype/ctype_print.h: Likewise.
+       * lib/unictype/ctype_punct.h: Likewise.
+       * lib/unictype/ctype_space.h: Likewise.
+       * lib/unictype/ctype_upper.h: Likewise.
+       * lib/unictype/ctype_xdigit.h: Likewise.
+       * lib/unictype/decdigit.h: Likewise.
+       * lib/unictype/digit.h: Likewise.
+       * lib/unictype/mirror.h: Likewise.
+       * lib/unictype/numeric.h: Likewise.
+       * lib/unictype/pr_alphabetic.h: Likewise.
+       * lib/unictype/pr_ascii_hex_digit.h: Likewise.
+       * lib/unictype/pr_bidi_arabic_digit.h: Likewise.
+       * lib/unictype/pr_bidi_arabic_right_to_left.h: Likewise.
+       * lib/unictype/pr_bidi_block_separator.h: Likewise.
+       * lib/unictype/pr_bidi_boundary_neutral.h: Likewise.
+       * lib/unictype/pr_bidi_common_separator.h: Likewise.
+       * lib/unictype/pr_bidi_control.h: Likewise.
+       * lib/unictype/pr_bidi_embedding_or_override.h: Likewise.
+       * lib/unictype/pr_bidi_eur_num_separator.h: Likewise.
+       * lib/unictype/pr_bidi_eur_num_terminator.h: Likewise.
+       * lib/unictype/pr_bidi_european_digit.h: Likewise.
+       * lib/unictype/pr_bidi_hebrew_right_to_left.h: Likewise.
+       * lib/unictype/pr_bidi_left_to_right.h: Likewise.
+       * lib/unictype/pr_bidi_non_spacing_mark.h: Likewise.
+       * lib/unictype/pr_bidi_other_neutral.h: Likewise.
+       * lib/unictype/pr_bidi_pdf.h: Likewise.
+       * lib/unictype/pr_bidi_segment_separator.h: Likewise.
+       * lib/unictype/pr_bidi_whitespace.h: Likewise.
+       * lib/unictype/pr_combining.h: Likewise.
+       * lib/unictype/pr_composite.h: Likewise.
+       * lib/unictype/pr_currency_symbol.h: Likewise.
+       * lib/unictype/pr_dash.h: Likewise.
+       * lib/unictype/pr_decimal_digit.h: Likewise.
+       * lib/unictype/pr_default_ignorable_code_point.h: Likewise.
+       * lib/unictype/pr_deprecated.h: Likewise.
+       * lib/unictype/pr_diacritic.h: Likewise.
+       * lib/unictype/pr_extender.h: Likewise.
+       * lib/unictype/pr_format_control.h: Likewise.
+       * lib/unictype/pr_grapheme_base.h: Likewise.
+       * lib/unictype/pr_grapheme_extend.h: Likewise.
+       * lib/unictype/pr_grapheme_link.h: Likewise.
+       * lib/unictype/pr_hex_digit.h: Likewise.
+       * lib/unictype/pr_hyphen.h: Likewise.
+       * lib/unictype/pr_id_continue.h: Likewise.
+       * lib/unictype/pr_id_start.h: Likewise.
+       * lib/unictype/pr_ideographic.h: Likewise.
+       * lib/unictype/pr_ids_binary_operator.h: Likewise.
+       * lib/unictype/pr_ids_trinary_operator.h: Likewise.
+       * lib/unictype/pr_ignorable_control.h: Likewise.
+       * lib/unictype/pr_iso_control.h: Likewise.
+       * lib/unictype/pr_join_control.h: Likewise.
+       * lib/unictype/pr_left_of_pair.h: Likewise.
+       * lib/unictype/pr_line_separator.h: Likewise.
+       * lib/unictype/pr_logical_order_exception.h: Likewise.
+       * lib/unictype/pr_lowercase.h: Likewise.
+       * lib/unictype/pr_math.h: Likewise.
+       * lib/unictype/pr_non_break.h: Likewise.
+       * lib/unictype/pr_not_a_character.h: Likewise.
+       * lib/unictype/pr_numeric.h: Likewise.
+       * lib/unictype/pr_other_alphabetic.h: Likewise.
+       * lib/unictype/pr_other_default_ignorable_code_point.h: Likewise.
+       * lib/unictype/pr_other_grapheme_extend.h: Likewise.
+       * lib/unictype/pr_other_id_continue.h: Likewise.
+       * lib/unictype/pr_other_id_start.h: Likewise.
+       * lib/unictype/pr_other_lowercase.h: Likewise.
+       * lib/unictype/pr_other_math.h: Likewise.
+       * lib/unictype/pr_other_uppercase.h: Likewise.
+       * lib/unictype/pr_paired_punctuation.h: Likewise.
+       * lib/unictype/pr_paragraph_separator.h: Likewise.
+       * lib/unictype/pr_pattern_syntax.h: Likewise.
+       * lib/unictype/pr_pattern_white_space.h: Likewise.
+       * lib/unictype/pr_private_use.h: Likewise.
+       * lib/unictype/pr_punctuation.h: Likewise.
+       * lib/unictype/pr_quotation_mark.h: Likewise.
+       * lib/unictype/pr_radical.h: Likewise.
+       * lib/unictype/pr_sentence_terminal.h: Likewise.
+       * lib/unictype/pr_soft_dotted.h: Likewise.
+       * lib/unictype/pr_space.h: Likewise.
+       * lib/unictype/pr_terminal_punctuation.h: Likewise.
+       * lib/unictype/pr_titlecase.h: Likewise.
+       * lib/unictype/pr_unassigned_code_value.h: Likewise.
+       * lib/unictype/pr_unified_ideograph.h: Likewise.
+       * lib/unictype/pr_uppercase.h: Likewise.
+       * lib/unictype/pr_variation_selector.h: Likewise.
+       * lib/unictype/pr_white_space.h: Likewise.
+       * lib/unictype/pr_xid_continue.h: Likewise.
+       * lib/unictype/pr_xid_start.h: Likewise.
+       * lib/unictype/pr_zero_width.h: Likewise.
+       * lib/unictype/scripts.h: Likewise.
+       * lib/unictype/scripts_byname.gperf: Likewise.
+       * lib/unictype/sy_c_ident.h: Likewise.
+       * lib/unictype/sy_c_whitespace.h: Likewise.
+       * lib/unictype/sy_java_ident.h: Likewise.
+       * lib/unictype/sy_java_whitespace.h: Likewise.
+
+       * lib/unictype/Makefile: New file.
+       * lib/unictype/gen-ctype.c: New file, based on gen-unicode-ctype.c in
+       glibc.
+       * lib/unictype/3level.h: New file, copied from glibc.
+       * lib/unictype/3levelbit.h: New file.
+
+2007-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/gperf: New file.
+       * modules/iconv_open (Depends-on): Add it.
+       (Makefile.am): Remove the GPERF definition.
+
+2007-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/round.m4 (gl_FUNC_ROUND): Test against NetBSD 3.0 bug.
+       * doc/functions/round.texi: Mention the NetBSD 3.0 bug.
+
+2007-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-argmatch.c (ARGMATCH_DIE): Undefine.
+       (usage): Remove function.
+
+2007-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Use gl_FUNC_FLOORF_LIBS and
+       gl_FUNC_CEILF_LIBS.
+       * m4/round.m4 (gl_FUNC_ROUND): Use gl_FUNC_FLOOR_LIBS and
+       gl_FUNC_CEIL_LIBS.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): Use gl_FUNC_FLOORL_LIBS and
+       gl_FUNC_CEILL_LIBS.
+       * modules/roundf (Files): Add m4/floorf.m4, m4/ceilf.m4.
+       * modules/round (Files): Add m4/floor.m4, m4/ceil.m4.
+       * modules/roundl (Files): Add m4/floorl.m4, m4/ceill.m4.
+
+2007-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Handle the case that floorf and
+       roundf were declared but do not exist on functions.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): Handle the case that floorl and
+       roundl were declared but do not exist on functions.
+       * lib/round.c (HAVE_FLOOR_AND_CEIL): Use HAVE_FLOORF_AND_CEILF and
+       HAVE_FLOORL_AND_CEILL, respectively.
+       Needed for Sun C on Solaris 10.
+
+2007-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Set REPLACE_ROUNDF instead of
+       HAVE_DECL_ROUNDF. Remove redundant AC_SUBST.
+       * m4/round.m4 (gl_FUNC_ROUND): Set REPLACE_ROUND instead of
+       HAVE_DECL_ROUND. Remove redundant AC_SUBST.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): Set REPLACE_ROUNDL instead of
+       HAVE_DECL_ROUNDL. Remove redundant AC_SUBST.
+       * lib/math.in.h (roundf): Use REPLACE_ROUNDF instead of
+       HAVE_DECL_ROUNDF.
+       (round): Use REPLACE_ROUND instead of HAVE_DECL_ROUND.
+       (roundl): Use REPLACE_ROUNDL instead of HAVE_DECL_ROUNDL.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_ROUND* instead
+       of HAVE_DECL_ROUND*.
+       * modules/math (Makefile.am): Update.
+
+2007-11-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Use same check for
+       ptrdiff_t as m4/intl.m4.
+
+2007-11-10  Jim Meyering  <meyering@redhat.com>
+
+       Avoid link failure for the argmatch test.
+       * tests/test-argmatch.c (usage): Define function to avoid a link
+       failure: argmatch_die requires a usage function.
+
+2007-11-09  Bruno Haible  <bruno@clisp.org>
+
+       * doc/functions/snprintf.texi: Mention BeOS deficiency.
+       * doc/functions/vsnprintf.texi: Likewise.
+       * lib/vasnprintf.c (VASNPRINTF): Ensure that we never call snprintf
+       with a size argument < 2.
+
+2007-11-09  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Increase reallocation of snprintf
+       buffer. Fixes an inefficiency introduced on 2007-11-03.
+
+2007-11-09  Bruno Haible  <bruno@clisp.org>
+
+       * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8) [BeOS]: Make this test return
+       none instead of tr_TR. Fixes a failure of test-c-strcasecmp.c.
+
+2007-11-08  Jim Meyering  <meyering@redhat.com>
+
+       Change cache variable name prefix "jm_" to "gl_" everywhere.
+       * m4/d-type.m4, m4/jm-winsz1.m4, m4/jm-winsz2.m4, m4/link-follow.m4:
+       * m4/putenv.m4, m4/strtoimax.m4, m4/strtoumax.m4, m4/unlink-busy.m4:
+       * m4/uptime.m4: s/gl_/jm_/
+
+2007-11-07  Bruno Haible  <bruno@clisp.org>
+
+       Update to GNU gettext 0.17.
+       * m4/intl.m4: Update to GNU gettext 0.17.
+       * m4/po.m4: Likewise.
+       * modules/gettext (Files): Remove m4/ulonglong.m4.
+       (configure.ac): Require gettext infrastructure from version 0.17.
+
+2007-11-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fbufmode.c (fbufmode) [QNX]: Use numerical values for flags; the
+       symbolic values are not defined in a public header.
+       * lib/freadable.c (freadable) [QNX]: Likewise.
+       * lib/freadahead.c (freadahead) [QNX]: Likewise.
+       * lib/freading.c (freading) [QNX]: Likewise.
+       * lib/fseterr.c (fseterr) [QNX]: Likewise.
+       * lib/fwritable.c (fwritable) [QNX]: Likewise.
+       * lib/fwriting.c (fwriting) [QNX]: Likewise.
+       * lib/fpurge.c (fpurge) [QNX]: Likewise. Add a return statement.
+       Reported by Alain Magloire.
+
+       * m4/fpending.m4 (gl_FUNC_FPENDING): Add a variant for QNX.
+
+2007-11-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Expand the NEED_PRINTF_DIRECTIVE_A
+       code when NEED_PRINTF_LONG_DOUBLE or NEED_PRINTF_DOUBLE is set.
+       Needed on Cygwin, where !NEED_PRINTF_DIRECTIVE_A && NEED_PRINTF_DOUBLE.
+       Reported by Eric Blake.
+
+2007-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+           Bruno Haible  <bruno@clisp.org>
+
+       * modules/malloc (configure.ac): Define GNULIB_MALLOC_GNU always.
+       * modules/realloc (configure.ac): Define GNULIB_REALLOC_GNU always.
+       * lib/realloc.c (SYSTEM_MALLOC_GLIBC_COMPATIBLE): New macro.
+       (malloc): Undefine also before including <stdlib.h>.
+       (rpl_realloc): Turn malloc(0) into malloc(1) if necessary.
+       Needed on OSF/1 4.0.
+
+2007-11-05  Jim Meyering  <meyering@redhat.com>
+
+       git-version-gen: sync from coreutils.
+       * build-aux/git-version-gen: Add comments.
+       Change the first '-' to '.' in the snapshot version string,
+       e.g., 6.9-377-08144 -> 6.9.377-08144
+       Remove first parameter.
+       Don't declare a version "-dirty" merely because a time
+       stamp has changed.
+
+2007-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * lib/lock.h: Protect all macro definitions containing an 'if'
+       statement through a "do { ... } while (0)".
+       * lib/tls.h: Likewise.
+
+2007-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (DCHAR_IS_TCHAR, DCHAR_CPY): Undefine at the end.
+
+2007-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_ENOMEM): Use GL_NOCRASH.
+       * modules/fprintf-posix (Depends-on): Add nocrash.
+       * modules/snprintf-posix (Depends-on): Likewise.
+       * modules/sprintf-posix (Depends-on): Likewise.
+       * modules/vasnprintf-posix (Depends-on): Likewise.
+       * modules/vasprintf-posix (Depends-on): Likewise.
+       * modules/vfprintf-posix (Depends-on): Likewise.
+       * modules/vsnprintf-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.
+
+2007-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * modules/nocrash: New file.
+       * m4/nocrash.m4: New file, taken from GNU clisp. Code taken from
+       GNU libsigsegv, with permission of GNU libsigsegv's copyright holders.
+
+2007-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-vasnprintf-posix.c (test_function): Add some tests of
+       precision handling.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * tests/test-snprintf-posix.h (test_function): Likewise.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+
+       Fix *printf behaviour for large precisions on mingw and BeOS.
+       * m4/printf.m4 (gl_PRINTF_PRECISION): New macro.
+       * lib/vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_UNBOUNDED_PRECISION.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_PRECISION): New macro.
+       (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke
+       gl_PRINTF_PRECISION and test its result. Invoke
+       gl_PREREQ_VASNPRINTF_PRECISION.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise.
+       * doc/functions/fprintf.texi: Update.
+       * doc/functions/printf.texi: Update.
+       * doc/functions/snprintf.texi: Update.
+       * doc/functions/sprintf.texi: Update.
+       * doc/functions/vfprintf.texi: Update.
+       * doc/functions/vprintf.texi: Update.
+       * doc/functions/vsnprintf.texi: Update.
+       * doc/functions/vsprintf.texi: Update.
+
+2007-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (scale10_round_decimal_decoded): Fix shift loop.
+
+2007-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * modules/relocatable-prog (Files): Add m4/lib-ld.m4.
+       Reported by Sylvain Beucler <beuc@gnu.org>.
+
+2007-11-03  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-fprintf-posix2.sh: New file.
+       * tests/test-fprintf-posix2.c: New file.
+       * modules/fprintf-posix-tests (Files): Add them.
+       (TESTS): Add test-fprintf-posix2.sh.
+       (configure.ac): Check for getrlimit and setrlimit.
+       (check_PROGRAMS): Add test-fprintf-posix2.
+
+       * tests/test-printf-posix2.sh: New file.
+       * tests/test-printf-posix2.c: New file.
+       * modules/printf-posix-tests (Files): Add them.
+       (TESTS): Add test-printf-posix2.sh.
+       (configure.ac): Check for getrlimit and setrlimit.
+       (check_PROGRAMS): Add test-printf-posix2.
+
+       Fix *printf behaviour in out-of-memory situations on MacOS X and *BSD.
+       * m4/printf.m4 (gl_PRINTF_ENOMEM): New macro.
+       * lib/vasnprintf.c: Implement NEED_PRINTF_DOUBLE.
+       (decode_double): New function, copied from decode_long_double.
+       (scale10_round_decimal_decoded): New function, extracted from
+       scale10_round_decimal_long_double.
+       (scale10_round_decimal_long_double): Use it.
+       (scale10_round_decimal_double): New function.
+       (floorlog10): New function.
+       (VASNPRINTF): Handle NEED_PRINTF_DOUBLE case.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_ENOMEM): New macro.
+       (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke
+       gl_PRINTF_ENOMEM and test its result. Invoke
+       gl_PREREQ_VASNPRINTF_ENOMEM.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise.
+       * modules/fprintf-posix (Depends-on): Add frexp-nolibm.
+       * modules/snprintf-posix (Depends-on): Likewise.
+       * modules/sprintf-posix (Depends-on): Likewise.
+       * modules/vasnprintf-posix (Depends-on): Likewise.
+       * modules/vasprintf-posix (Depends-on): Likewise.
+       * modules/vfprintf-posix (Depends-on): Likewise.
+       * modules/vsnprintf-posix (Depends-on): Likewise.
+       * modules/vsprintf-posix (Depends-on): Likewise.
+       * doc/functions/fprintf.texi: Update.
+       * doc/functions/printf.texi: Update.
+       * doc/functions/snprintf.texi: Update.
+       * doc/functions/sprintf.texi: Update.
+       * doc/functions/vfprintf.texi: Update.
+       * doc/functions/vprintf.texi: Update.
+       * doc/functions/vsnprintf.texi: Update.
+       * doc/functions/vsprintf.texi: Update.
+
+2007-11-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/frexp-nolibm-tests: New file.
+
+       * modules/frexp-nolibm: New file.
+       * m4/frexp.m4 (gl_FUNC_FREXP_NO_LIBM): New macro.
+
+2007-11-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF): Don't assume that snprintf's return
+       value is C99 compliant.
+       Needed for OSF/1 5.1.
+
+2007-11-03  Bruno Haible  <bruno@clisp.org>
+
+       Fix out-of-memory handling of vasnprintf.
+       * lib/printf-parse.c: Include <errno.h>.
+       (PRINTF_PARSE): When failing, set errno to EINVAL or ENOMEM.
+       * lib/vasnprintf.c (VASNPRINTF): When PRINTF_PARSE fails, assume errno
+       is already set.
+
+2007-11-02  Eric Blake  <ebb9@byu.net>
+
+       Fix tests on cygwin.
+       * modules/xprintf-posix-tests (Makefile.am): Link against -lintl.
+
+2007-11-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdlib.in.h (putenv): Remove the "not POSIX compliant everywhere"
+       warning.
+       * doc/functions/putenv.texi: Clarify that the 'putenv' module is not
+       needed for POSIX compatibility.
+
+2007-11-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/putenv.m4 (gl_FUNC_PUTENV): Also mention that we're checking
+       for compatibility with GNU.
+
+2007-11-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/putenv.c: Include <stdlib.h>. Remove rpl_putenv declaration.
+       (putenv): Renamed from rpl_putenv. Change argument type from
+       'const char *' to 'char *'.
+       * m4/putenv.m4 (gl_FUNC_PUTENV): Require gl_STDLIB_H_DEFAULTS. Instead
+       of defining putenv in config.h, just set REPLACE_PUTENV.
+       * modules/putenv (Depends-on): Add stdlib.
+       (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR.
+       (Include): Use <stdlib.h>.
+       * lib/stdlib.in.h (putenv): New declaration.
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_PUTENV and
+       REPLACE_PUTENV.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_PUTENV and
+       REPLACE_PUTENV.
+       Needed for MacOS X 10.5.0.
+       Reported by Peter O'Gorman <peter@pogma.com>.
+
+2007-11-01  Jim Meyering  <meyering@redhat.com>
+
+       Treat an empty date string exactly like "0".
+       * lib/getdate.y (get_date): Once any isspace or TZ= prefix is consumed,
+       if the remaining date string (to be parsed) is empty, use "0".
+       Reported by Mischa Molhoek and discussed in this thread:
+       <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/11726>.
+
+2007-10-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/intmax_t.m4 (gl_AC_TYPE_INTMAX_T, gt_AC_TYPE_INTMAX_T): Use
+       AC_TYPE_LONG_LONG_INT instead of gl_AC_TYPE_LONG_LONG.
+       * m4/uintmax_t.m4 (gl_AC_TYPE_UINTMAX_T): Use
+       AC_TYPE_UNSIGNED_LONG_LONG_INT instead of gl_AC_TYPE_UNSIGNED_LONG_LONG.
+       * m4/longlong.m4 (gl_AC_TYPE_LONG_LONG): Remove macro.
+       * m4/ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG): Remove macro.
+
+2007-10-31  Bruno Haible  <bruno@clisp.org>
+
+       * m4/longlong.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro, extracted
+       from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT.
+       (AC_TYPE_LONG_LONG_INT): Use it.
+       (AC_TYPE_UNSIGNED_LONG_LONG_INT): Moved here from m4/ulonglong.m4. Use
+       it as well.
+       * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Remove macro; moved
+       to m4/longlong.m4.
+       * modules/stdint (Files): Remove m4/ulonglong.m4.
+       * modules/strtoull (Files): Use m4/longlong.m4 instead of
+       m4/ulonglong.m4.
+       * modules/strtoumax (Files): Likewise.
+
 2007-10-30  Bruno Haible  <bruno@clisp.org>
 
+       * modules/xvasprintf-posix: New file.
+       Suggested by Eric Blake.
+
+2007-10-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/xprintf-posix-tests: New file.
+       * tests/test-xprintf-posix.sh: New file.
+       * tests/test-xprintf-posix.c: New file.
+       * tests/test-xfprintf-posix.c: New file.
+
        * modules/xprintf-posix: New file.
 
 2007-10-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
        gl_LGPL macro.
 
 2007-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * lib/unistr.h (u8_uctomb_aux): Declare also if !HAVE_INLINE.
        (u16_uctomb_aux): Likewise.