+2007-04-06 Bruno Haible <bruno@clisp.org>
+
+ * modules/isnanf-nolibm-tests: New file.
+ * tests/test-isnanf.c: New file.
+
+ * modules/isnanf-nolibm: New file.
+ * lib/isnanf.h: New file.
+ * lib/isnanf.c: New file.
+ * lib/isnan.c: Consider the USE_FLOAT macro.
+ * m4/isnanf.m4: New file.
+
+2007-04-06 Bruno Haible <bruno@clisp.org>
+
+ * modules/gettext-h (configure.ac): AC_SUBST LIBINTL and LTLIBINTL.
+ (Link): New section.
+
+ * modules/canonicalize-lgpl-tests (Makefile.am): Undo last change.
+
+2007-04-06 Bruno Haible <bruno@clisp.org>
+
+ Assume the 'long double' type.
+ * m4/longdouble.m4: Remove file.
+ * config/srclist.txt: Don't mention longdouble.m4.
+ * lib/allocsa.h: Assume HAVE_LONG_DOUBLE to be true.
+ * lib/float+.h: Likewise.
+ * lib/frexp.c: Likewise.
+ * lib/printf-args.h: Likewise.
+ * lib/printf-args.c: Likewise.
+ * lib/printf-frexp.c: Likewise.
+ * lib/printf-parse.c: Likewise.
+ * lib/vasnprintf.c: Likewise.
+ * m4/allocsa.m4: Remove gt_TYPE_LONGDOUBLE invocation.
+ * m4/intl.m4: Likewise.
+ * m4/isnanl.m4: Likewise.
+ * m4/printf.m4: Likewise.
+ * m4/printf-frexpl.m4: Likewise.
+ * m4/vasnprintf.m4: Likewise.
+ * modules/allocsa (Files): Remove m4/longdouble.m4.
+ * modules/gettext (Files): Likewise.
+ * modules/relocatable-prog-wrapper (Files): Likewise.
+ * modules/vasnprintf (Files): Likewise.
+ * modules/isnanl (Files): Likewise.
+ (Include): Simplify.
+ * modules/isnanl-nolibm (Files): Remove m4/longdouble.m4.
+ (Include): Simplify.
+ * modules/printf-frexpl (Files): Remove m4/longdouble.m4.
+ (Include): Simplify.
+ * modules/snprintf-posix-tests (Files): Remove m4/longdouble.m4.
+ (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+ * modules/sprintf-posix-tests (Files): Remove m4/longdouble.m4.
+ (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+ * modules/vasnprintf-posix-tests (Files): Remove m4/longdouble.m4.
+ (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+ * modules/vasprintf-posix-tests (Files): Remove m4/longdouble.m4.
+ (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+ * modules/vsnprintf-posix-tests (Files): Remove m4/longdouble.m4.
+ (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+ * modules/vsprintf-posix-tests (Files): Remove m4/longdouble.m4.
+ (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation.
+ * tests/test-isnanl-nolibm.c: Assume HAVE_LONG_DOUBLE to be true.
+ * tests/test-isnanl.c: Likewise.
+ * tests/test-snprintf-posix.h: Likewise.
+ * tests/test-sprintf-posix.h: Likewise.
+ * tests/test-vasnprintf-posix.c: Likewise.
+ * tests/test-vasnprintf-posix2.c: Likewise.
+ * tests/test-vasprintf-posix.c: Likewise.
+
+2007-04-06 Bruno Haible <bruno@clisp.org>
+
+ Fix problem with Compaq (ex-DEC) Desktop C compiler on Tru64.
+ * lib/math_.h [__DECC]: Include the overridden include file through
+ #include_next, outside the double-inclusion guard.
+ * lib/stdio_.h [__DECC]: Likewise.
+ * lib/stdlib_.h [__DECC]: Likewise.
+ * lib/string_.h [__DECC]: Likewise.
+ * lib/time_.h [__DECC]: Likewise.
+ * lib/wchar_.h [__DECC]: Likewise.
+ * lib/wctype_.h [__DECC]: Likewise.
+ * lib/inttypes_.h [__DECC]: Likewise.
+ Reported by Albert Chin <china@thewrittenword.com> in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00088.html>.
+
+2007-04-04 Eric Blake <ebb9@byu.net>
+
+ * m4/stdint.m4 (gl_STDINT_H): Detect WINT_MAX bug in cygwin
+ 1.5.x.
+
+2007-04-04 Bruno Haible <bruno@clisp.org>
+
+ * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Add a test for correct
+ rounding. Don't assume that FreeBSD 6 and NetBSD 4 pass this test.
+
+2007-04-04 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-vasnprintf-posix.c (test_function): Allow two possible
+ results for "%010a" of Infinity and NaN.
+ * tests/test-vasprintf-posix.c (test_function): Likewise.
+ * tests/test-snprintf-posix.h (test_function): Likewise.
+ * tests/test-sprintf-posix.h (test_function): Likewise.
+ * tests/test-fprintf-posix.h (test_function): Remove these tests.
+ * tests/test-printf-posix.h (test_function): Likewise.
+ * tests/test-fprintf-posix.out: Update.
+ Needed for FreeBSD 6.1.
+
+2007-04-04 Bruno Haible <bruno@clisp.org>
+
+ * DEPENDENCIES: Remove mentions of tar and gzip, since they are not
+ directly used by the gnulib modules nor by gnulib-tool.
+
+2007-04-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ * DEPENDENCIES: Give overall description of version dependency
+ desirability. Use more-typical names for apps.
+ Add shell, coreutils, diffutils, grep, tar, gzip.
+
+2007-04-04 Simon Josefsson <simon@josefsson.org>
+
+ * MODULES.html.sh: Rename crypto modules. Remove iconvme.
+
+2007-04-04 Karl Berry <karl@gnu.org>
+
+ * MODULES.html.sh (func_module): missing '.
+
+2007-04-03 Bruno Haible <bruno@clisp.org>
+
+ * modules/argmatch-tests (Makefile.am): New variable
+ test_argmatch_LDADD.
+ * modules/argp-tests (Makefile.am): New variable test_argp_LDADD.
+ * modules/array-list-tests (Makefile.am): New variable
+ test_array_list_LDADD.
+ * modules/array-oset-tests (Makefile.am): New variable
+ test_array_oset_LDADD.
+ * modules/avltree-list-tests (Makefile.am): New variable
+ test_avltree_list_LDADD.
+ * modules/avltree-oset-tests (Makefile.am): New variable
+ test_avltree_oset_LDADD.
+ * modules/avltreehash-list-tests (Makefile.am): New variable
+ test_avltreehash_list_LDADD.
+ * modules/canonicalize-lgpl-tests (Makefile.am): New variable
+ test_canonicalize_lgpl_LDADD.
+ * modules/carray-list-tests (Makefile.am): New variable
+ test_carray_list_LDADD.
+ * modules/dirname-tests (Makefile.am): New variable
+ test_dirname_LDADD.
+ * modules/linked-list-tests (Makefile.am): New variable
+ test_linked_list_LDADD.
+ * modules/linkedhash-list-tests (Makefile.am): New variable
+ test_linkedhash_list_LDADD.
+ * modules/rbtree-list-tests (Makefile.am): New variable
+ test_rbtree_list_LDADD.
+ * modules/rbtree-oset-tests (Makefile.am): New variable
+ test_rbtree_oset_LDADD.
+ * modules/rbtreehash-list-tests (Makefile.am): New variable
+ test_rbtreehash_list_LDADD.
+ * modules/xvasprintf-tests (Makefile.am): New variable
+ test_xvasprintf_LDADD.
+ Reported by Eric Blake.
+
+2007-04-03 Eric Blake <ebb9@byu.net>
+
+ * DEPENDENCIES: Weaken m4 requirements.
+
+2007-04-03 Bruno Haible <bruno@clisp.org>
+
+ * modules/frexp-tests (configure.ac): Remove AC_SUBST.
+ * modules/isnanl-tests (configure.ac): Likewise.
+
+2007-04-03 Ben Pfaff <blp@gnu.org>
+
+ * modules/iconv_open: Add $(srcdir)/ to source directory
+ references in Makefile fragments that call gperf, to fix VPATH
+ builds.
+
+2007-04-03 Bruno Haible <bruno@clisp.org>
+
+ * modules/ldexpl (Depends-on): Add isnanl, remove isnanl-nolibm.
+ * lib/ldexpl.c: Undo last change.
+
+2007-04-03 Bruno Haible <bruno@clisp.org>
+
+ * modules/printf-frexpl (Depends-on): Undo last change.
+ (Files): Add m4/ldexpl.m4.
+
+2007-04-03 Bruno Haible <bruno@clisp.org>
+
+ * m4/isnanl.m4 (gl_FUNC_ISNANL): Substitute ISNANL_LIBM.
+ * modules/isnanl (Link): New section.
+
+ * m4/frexp.m4 (gl_FUNC_FREXP): Substitute FREXP_LIBM.
+ * modules/frexp (Link): New section.
+
+ * m4/frexpl.m4 (gl_FUNC_FREXPL): Substitute FREXPL_LIBM.
+ * modules/frexpl (Link): New section.
+
+ * m4/ldexpl.m4 (gl_FUNC_LDEXPL): Substitute LDEXPL_LIBM.
+ * modules/ldexpl (Link): New section.
+
+2007-04-03 Bruno Haible <bruno@clisp.org>
+
+ * modules/TEMPLATE-EXTENDED: New file.
+ * gnulib-tool (func_all_modules, func_verify_module): Exclude it.
+
+2007-04-03 Bruno Haible <bruno@clisp.org>
+
+ * DEPENDENCIES: New file.
+ Suggested by Simon Josefsson.
+
+2007-04-03 Bruno Haible <bruno@clisp.org>
+
+ * doc/gnulib.texi: Escape @.
+
+2007-04-03 James Youngman <jay@gnu.org>
+ and Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/stat-time.h (get_stat_birthtime): Check for zero-valued
+ birthtime on all systems that have birthtime, not just those which
+ use st_birthtimensec rather than st_birthtim. Putting zero in
+ st_birthtim.tv_sec is how (for example) FreeBSD/x86 6.1 indicates
+ that the birth time is not available for files on an NFS mount.
+
+2007-04-03 Simon Josefsson <simon@josefsson.org>
+
+ * modules/memxor: Move back from crypto/, suggested by Bruno.
+ * modules/crypto/hmac-sha1: Fix memxor dependency.
+
+ * modules/crypto/gc: Moved from ../.
+
+2007-04-02 Eric Blake <ebb9@byu.net>
+
+ * lib/ldexpl.c (includes): Avoid libm.
+
+ * modules/printf-frexpl (Depends-on): Depend on ldexpl.
+
+2007-04-02 Bruno Haible <bruno@clisp.org>
+
+ * lib/sysexit_.h (EX_OK): Disable the EX_OK definition from <unistd.h>
+ on IRIX.
+
+2007-04-02 Bruno Haible <bruno@clisp.org>
+
+ * m4/intdiv0.m4 (gt_INTDIV0): Avoid performing the test for real on
+ x86 or x86_64 platforms running MacOS X.
+ Reported by Ryan Schmidt <@ryandesign.com>.
+
+2007-04-02 Bruno Haible <bruno@clisp.org>
+
+ * m4/intdiv0.m4 (gt_INTDIV0): When cross-compiling, treat x86_64 like
+ i386.
+
+2007-04-01 Simon Josefsson <simon@josefsson.org>
+
+ * modules/crypto/arcfour: Moved from ../.
+ * modules/crypto/arcfour-tests: Moved from ../.
+ * modules/crypto/arctwo: Moved from ../.
+ * modules/crypto/arctwo-tests: Moved from ../.
+ * modules/crypto/des: Moved from ../.
+ * modules/crypto/des-tests: Moved from ../.
+ * modules/crypto/gc-arcfour: Moved from ../.
+ * modules/crypto/gc-arcfour-tests: Moved from ../.
+ * modules/crypto/gc-arctwo: Moved from ../.
+ * modules/crypto/gc-arctwo-tests: Moved from ../.
+ * modules/crypto/gc-des: Moved from ../.
+ * modules/crypto/gc-des-tests: Moved from ../.
+ * modules/crypto/gc-hmac-md5: Moved from ../.
+ * modules/crypto/gc-hmac-md5-tests: Moved from ../.
+ * modules/crypto/gc-hmac-sha1: Moved from ../.
+ * modules/crypto/gc-hmac-sha1-tests: Moved from ../.
+ * modules/crypto/gc-md2: Moved from ../.
+ * modules/crypto/gc-md2-tests: Moved from ../.
+ * modules/crypto/gc-md4: Moved from ../.
+ * modules/crypto/gc-md4-tests: Moved from ../.
+ * modules/crypto/gc-md5: Moved from ../.
+ * modules/crypto/gc-md5-tests: Moved from ../.
+ * modules/crypto/gc-pbkdf2-sha1: Moved from ../.
+ * modules/crypto/gc-pbkdf2-sha1-tests: Moved from ../.
+ * modules/crypto/gc-random: Moved from ../.
+ * modules/crypto/gc-rijndael: Moved from ../.
+ * modules/crypto/gc-rijndael-tests: Moved from ../.
+ * modules/crypto/gc-sha1: Moved from ../.
+ * modules/crypto/gc-sha1-tests: Moved from ../.
+ * modules/crypto/gc-tests: Moved from ../.
+ * modules/crypto/hmac-md5: Moved from ../.
+ * modules/crypto/hmac-md5-tests: Moved from ../.
+ * modules/crypto/hmac-sha1: Moved from ../.
+ * modules/crypto/hmac-sha1-tests: Moved from ../.
+ * modules/crypto/md2: Moved from ../.
+ * modules/crypto/md2-tests: Moved from ../.
+ * modules/crypto/md4: Moved from ../.
+ * modules/crypto/md4-tests: Moved from ../.
+ * modules/crypto/md5: Moved from ../.
+ * modules/crypto/md5-tests: Moved from ../.
+ * modules/crypto/memxor: Moved from ../.
+ * modules/crypto/rijndael: Moved from ../.
+ * modules/crypto/rijndael-tests: Moved from ../.
+ * modules/crypto/sha1: Moved from ../.
+
+2007-03-30 James Youngman <jay@gnu.org>
+
+ * tests/test-stat-time.c (prepare_test): use chmod() rather than
+ rename() to change the ctime of a file (because ctime is unaffected
+ by rename on jfs2 on AIX 5.1).
+ (main): Start by doing cleanup, in case a previous run failed leaving
+ test files behind.
+
+2007-03-31 Bruno Haible <bruno@clisp.org>
+
+ Support old proprietary implementations of iconv.
+ * modules/iconv_open: New file.
+ * lib/iconv_.h: New file.
+ * m4/iconv_h.m4: New file.
+ * lib/iconv_open.c: New file.
+ * lib/iconv_open-aix.gperf: New file.
+ * lib/iconv_open-hpux.gperf: New file.
+ * lib/iconv_open-irix.gperf: New file.
+ * lib/iconv_open-osf.gperf: New file.
+ * m4/iconv_open.m4: New file.
+ * modules/linebreak (Depends-on): Add iconv_open.
+ * modules/striconv (Depends-on): Likewise.
+ * modules/striconveh (Depends-on): Likewise.
+ * modules/unicodeio (Depends-on): Likewise.
+ * lib/striconveh.h (mem_cd_iconveh, str_cd_iconveh): Allow cd to be
+ (iconv_t)(-1).
+ * lib/striconveh.c (mem_cd_iconveh_internal): Use an indirect
+ conversion if cd is (iconv_t)(-1).
+ (mem_iconveh, str_iconveh): Don't fail just because a direct conversion
+ is not possible.
+
+2007-03-31 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-striconveha.c (main): Don't expect "autodetect_jp" to
+ work on Solaris either. Protect also second use of "autodetect_jp".
+
+2007-03-31 Bruno Haible <bruno@clisp.org>
+
+ * m4/frexpl.m4 (gl_FUNC_FREXPL): Set HAVE_DECL_FREXPL to 0 when
+ the function is not present.
+
+2007-03-31 Bruno Haible <bruno@clisp.org>
+
+ * m4/ldexpl.m4 (gl_FUNC_LDEXPL): Set HAVE_DECL_LDEXPL to 0 when
+ the function is not present.
+
+2007-03-31 Bruno Haible <bruno@clisp.org>
+
+ * m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-29 patch. Test also against
+ a bug in HP-UX iconv_open().
+
+2007-03-31 Bruno Haible <bruno@clisp.org>
+
+ * MODULES.html.sh (func_module): Don't show gnulib-common.m4.
+ (Mathematics <math.h>): New section, add fpieee.
+ (Input/output <stdio.h>): Add fseterr.
+ (Mathematics <math.h>): New section, add printf-frexp.
+ (Container data structures): Add sublist.
+ (Core language properties): Add fpucw, inline.
+ (Functions for greatest-width integer types <inttypes.h>): Add
+ imaxabs, imaxdiv, inttypes.
+ (Mathematics <math.h>): Add frexp, frexpl, isnan-nolibm, isnanl,
+ isnanl-nolibm, ldexp.
+ (Mathematics <math.h>): New section, add printf-frexpl.
+ (Support for systems lacking POSIX:2001): Add fprintf-posix,
+ printf-posix, snprintf-posix, sprintf-posix, string, search, socklen,
+ sys_select, sys_socket, vasnprintf-posix, vasprintf-posix,
+ vfprintf-posix, vprintf-posix, vsnprintf-posix, vsprintf-posix.
+ (Unicode string functions): Add unistr/u*-mbtoucr.
+ (Java): Add javacomp-script, javaexec-script.
+ (C#): Add csharpcomp-script, csharpexec-script.
+ (Support for building libraries and executables): Add havelib,
+ relocatable-*.
+ (Support for maintaining and releasing projects): Renamed from
+ 'Support for maintaining and release projects'. Add announce-gen.
+
+2007-03-31 Bruno Haible <bruno@clisp.org>
+
+ * README: Talk primarily about git.
+ (git and CVS): Renamed from CVS.
+ * doc/gnulib.texi (Introduction, Build robot for gnulib): Mention that
+ gnulib is available through git.
+ * doc/gnulib-tool.texi (CVS Issues): Mention git and svn as well.
+
+2007-03-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/alloca_.h: Change prefix of double-inclusion guard macro to _GL_.
+ * lib/poll_.h: Likewise.
+ * lib/stat_.h: Likewise.
+ * lib/sys_time_.h: Likewise.
+ * lib/sysexit_.h: Likewise.
+ * lib/glob_.h: Prefix double-inclusion guard macro with _GL_.
+ * lib/stdbool_.h: Likewise.
+ * lib/byteswap_.h: Add double-inclusion guard.
+
+2007-03-30 Sergey Poznyakoff <gray@mirddin.farlep.net>
+
+ * lib/sysexit_.h: Prefix double-inclusion guard macro with _GNULIB.
+
+2007-03-30 Karl Berry <karl@gnu.org>
+
+ * config/srclist-update: double space after USA in the license
+ substitution, since that's how it's usually (?) written.
+
+2007-03-30 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/write-any-file.c (can_write_any_file): Fix else-else bug
+ reported by Bruno Haible.
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * m4/iconv.m4 (AM_ICONV_LINK): Require AC_CANONICAL_HOST. Test against
+ a bug in AIX iconv().
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * modules/ldexpl-tests: New file.
+ * tests/test-ldexpl.c: New file.
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * lib/ldexpl.c: Include fpucw.h.
+ (ldexpl): Use BEGIN/END_LONG_DOUBLE_ROUNDING. Skip the last unneeded
+ multiplication.
+ * modules/ldexpl (Depends-on): Add fpucw.
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * modules/ldexpl: New file.
+ * m4/ldexpl.m4: New file.
+ * lib/math_.h (ldexpl): Define to a replacement if REPLACE_LDEXPL is
+ set.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize also GNULIB_LDEXPL,
+ REPLACE_LDEXPL.
+ * modules/math (Makefile.am): Substitute also GNULIB_LDEXPL,
+ REPLACE_LDEXPL.
+ * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Invoke
+ gl_FUNC_LDEXPL_WORKS.
+ * m4/mathl.m4 (gl_FUNC_LONG_DOUBLE_MATH): Remove test for ldexpl.
+ * modules/mathl (Files): Remove lib/ldexpl.c.
+ (Depends-on): Add ldexpl.
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Declare frexpl.
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-striconveh.c (main): Don't assume that a direct conversion
+ between ISO-8859-1 and ISO-8859-2 is possible. Needed for OSF/1, IRIX
+ and possibly also HP-UX.
+ * tests/test-striconveha.c (main): Don't expect "autodetect_jp" to
+ work on AIX, IRIX, HP-UX, OSF/1.
+ * tests/uniconv/test-u16-conv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u16-strconv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u32-conv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u32-strconv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u8-conv-from-enc.c (main): Likewise.
+ * tests/uniconv/test-u8-strconv-from-enc.c (main): Likewise.
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-stat-time.c: Include <fcntl.h>, not <sys/fcntl.h>.
+
+2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/acl-internal.h (acl_get_fd, acl_set_fd): undef before defining,
+ to work around a problem on OSF/1 5.1 reported by Bruno Haible.
+
+2007-03-29 Eric Blake <ebb9@byu.net>
+
+ * lib/acl-internal.h: Remove redundant include.
+ (ACL_NOT_WELL_SUPPORTED): Also filter on EBUSY, returned by
+ Cygwin when a file is locked.
+
+2007-03-29 Bruno Haible <bruno@clisp.org>
+
+ * lib/vasprintf.c [IN_LIBASPRINTF]: Include different specification
+ file.
+ * lib/asprintf.c [IN_LIBASPRINTF]: Likewise.
+
+2007-03-29 Paul Eggert <eggert@cs.ucla.edu>
+
+ * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Don't bother to
+ try to remove a parent directory if the child couldn't be removed
+ (except for the first rmdir, which could fail because the child
+ doesn't exist). Problem reported by Jeff Blaine in
+ <http://lists.gnu.org/archive/html/bug-tar/2007-03/msg00014.html>.
+
+2007-03-28 Bruno Haible <bruno@clisp.org>
+
+ * lib/striconveh.c (utf8conv_carefully): New function.
+ (mem_cd_iconveh_internal): Invoke it.
+
+2007-03-28 Bruno Haible <bruno@clisp.org>
+
+ * lib/striconveh.c (mem_cd_iconveh_internal): Use u8_mbtoucr instead
+ of u8_mbtouc in order to distinguish invalid and incomplete UTF-8
+ input.
+ * modules/striconveh (Depends-on): Add unistr/u8-mbtoucr. Replace
+ utf8-ucs4 with unistr/u8-mbtouc. Replace ucs4-utf8 with
+ unistr/u8-uctomb.
+
+2007-03-28 Bruno Haible <bruno@clisp.org>
+
+ * modules/unistr/u8-mbtoucr: New file.
+ * lib/unistr/u8-mbtoucr.c: New file.
+ * modules/unistr/u16-mbtoucr: New file.
+ * lib/unistr/u16-mbtoucr.c: New file.
+ * modules/unistr/u16-mbtoucr: New file.
+ * lib/unistr/u16-mbtoucr.c: New file.
+ * lib/unistr.h (u8_mbtoucr, u16_mbtoucr, u32_mbtoucr): New declarations.
+
+2007-03-27 Simon Josefsson <simon@josefsson.org>
+ Bruno Haible <bruno@clisp.org>
+
+ * m4/vasprintf.m4: Convert AC_SUBST into shell variable for
+ REPLACE_VASPRINTF. Set HAVE_VASPRINTF. Add
+ AC_REQUIRE([gl_STDIO_H_DEFAULTS]).
+
+ * m4/stdio_h.m4: Add stubs for vasprintf too.
+
+ * modules/stdio: Support vasprintf in sed command.
+
+ * modules/vasprintf: Depend on stdio for prototypes. Remove
+ vasprintf.h. Add stdio module indicator.
+
+ * lib/stdio_.h: Declare asprintf and vasprintf, based on
+ vasprintf.h.
+
+ * lib/vasprintf.h: File removed.
+
+ * lib/asprintf.c: Use stdio.h instead of vasprintf.h.
+ * lib/vasprintf.c: Ditto.
+ * lib/xvasprintf.c: Ditto.
+ * tests/test-vasprintf-posix.c: Ditto.
+ * tests/test-vasprintf.c: Ditto.
+
+2007-03-27 Bruno Haible <bruno@clisp.org>
+
+ Make vasnprintf multithread-safe.
+ * lib/vasnprintf.c (decimal_point_char): New function.
+ (VASNPRINTF): Use it.
+ Suggested by Simon Josefsson.
+
+2007-03-27 Eric Blake <ebb9@byu.net>
+
+ Support sub-second birthtime on cygwin.
+ * m4/stat-time.m4 (gl_STAT_BIRTHTIME): Also check for st_birthtim.
+ * lib/stat-time.h (STAT_TIMESPEC): Adjust comments.
+ (get_stat_birthtime): Also work with st_birthtim.
+
+2007-03-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/stat-time.h (USE_BIRTHTIME): Remove.
+ (get_stat_atime_ns, get_stat_ctime_ns, get_stat_mtime_ns):
+ (get_stat_birthtime_ns): Do not try to use "spare" fields.
+ (get_stat_birthtime_ns): Simplify compile-time tests.
+ (get_stat_birthtime): Change the API to look like
+ get_stat_mtime etc., except return a negative tv_nsec on error.
+ * m4/stat-time.m4 (gl_STAT_TIME, gl_STAT_BIRTHTIME):
+ Don't check for "spare" fields.
+ (gl_STAT_BIRTHTIME): Don't check for struct stat.st_birthtimespec.tv_sec
+ or for struct stat.st_birthtime, as these tests aren't used.
+ * tests/test-stat-time.c (test_birthtime): Adjust to new API.
+
+2007-03-27 Bruno Haible <bruno@clisp.org>
+
+ * lib/stat-time.h: Include <sys/stat.h>.
+
+2007-03-27 James Youngman <jay@gnu.org>
+
+ * lib/stat-time.h (get_stat_birthtime): New function for
+ retrieving st_birthtime as provided by UFS2 (hence *BSD).
+ * m4/stat-time.m4 (gl_STAT_BIRTHTIME): Probe for st_birthtime
+ and its variants.
+ * modules/stat-time (configure.ac): call gl_STAT_BIRTHTIME.
+ * modules/stat-time-test: New file.
+ * tests/test-stat-time.c: New test, devised by Bruno Haible.
+
+2007-03-26 Bruno Haible <bruno@clisp.org>
+
+ Better support of signalling NaNs.
+ * lib/atanl.c: Include isnanl.h.
+ (atanl): Perform test for NaN at the beginning of the function and
+ through a call to isnanl.
+ * lib/cosl.c: Include isnanl.h.
+ (cosl): Perform test for NaN at the beginning of the function and
+ through a call to isnanl.
+ * lib/ldexpl.c: Include isnanl.h.
+ (ldexpl): Perform test for NaN through a call to isnanl.
+ * lib/logl.c: Include isnanl.h.
+ (logl): Perform test for NaN at the beginning of the function and
+ through a call to isnanl.
+ * lib/sinl.c: Include isnanl.h.
+ (sinl): Perform test for NaN at the beginning of the function and
+ through a call to isnanl.
+ * lib/sqrtl.c: Include isnanl.h.
+ (sqrtl): Perform test for NaN at the beginning of the function and
+ through a call to isnanl.
+ * lib/tanl.c: Include isnanl.h.
+ (tanl): Perform test for NaN at the beginning of the function and
+ through a call to isnanl.
+ * lib/trigl.c (ieee754_rem_pio2l): Remove test for NaN.
+ * modules/mathl (Depends-on): Add isnanl.
+
+2007-03-26 Eric Blake <ebb9@byu.net>
+
+ * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix
+ regression in logic sense of previous patch.
+
+2007-03-26 Bruno Haible <bruno@clisp.org>
+
+ * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Don't use
+ unportable shell command "if ! ...".
+ Reported by Ralf Wildenhues.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/sysexit_,h: If HAVE_SYSEXITS_H is defined, include the original
+ <sysexits.h> file, and only add EX_CONFIG.
+ * m4/sysexits.m4 (gl_SYSEXITS): If <sysexits.h> exists, check its
+ absolute file name and whether it is sufficient. Substitute also
+ HAVE_SYSEXITS_H and ABSOLUTE_SYSEXITS_H.
+ * modules/sysexits (Makefile.am): Substitute HAVE_SYSEXITS_H and
+ ABSOLUTE_SYSEXITS_H into sysexits.h.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/getaddrinfo.c (getaddrinfo): Don't access hints->ai_flags when
+ hints is NULL.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Add a cast.
+ * lib/uniconv/u8-strconv-to-enc.c (u8_strconv_to_encoding): Likewise.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/vasnprintf.c: Include langinfo.h.
+ (VASNPRINTF): Prefer nl_langinfo over localeconv, since it's more
+ multithread-safe.
+ * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): New macro.
+ * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke it.
+ * 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.
+ Reported by Simon Josefsson.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/printf-parse.c [!IN_LIBINTL]: Include <stdint.h>, for intmax_t.
+ (PRINTF_PARSE): Make the support for size specifier 'j' unconditional.
+ * modules/vasnprintf (Depends-on): Add stdint.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * modules/fpieee: New file.
+ * m4/fpieee.m4: New file.
+ * modules/isnan-nolibm (Depends-on): Add fpieee.
+ * modules/isnanl-nolibm (Depends-on): Add fpieee.
+ * modules/isnanl (Depends-on): Add fpieee.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Test also finite numbers.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ Avoid test failures on IRIX 6.5.
+ * tests/test-frexpl.c (MIN_NORMAL_EXP): New macro.
+ (main): Use it.
+ * tests/test-printf-frexpl.c (MIN_NORMAL_EXP, MIN_SUBNORMAL_EXP): New
+ macros.
+ (main): Use them.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): New macro.
+ (gl_FUNC_FREXPL): Invoke it. Set REPLACE_FREXPL to 1 if it frexpl
+ exists but doesn't work.
+ * lib/math_.h (frexpl): Define as a replacement macro if REPLACE_FREXPL
+ is set. Don't provide a prototype if REPLACE_FREXPL is not set.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_FREXPL.
+ * modules/math (Makefile.am) Substibute also REPLACE_FREXPL into math.h.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Add check whether frexp(inf)
+ returns inf. Needed on IRIX 6.5.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-frexpl.c: Include isnanl-nolibm.h.
+ (main): Use isnanl instead of x != x idiom.
+ * modules/frexpl-tests (Depends-on): Add isnanl-nolibm.
+
+ * tests/test-frexp.c: Include isnan.h.
+ (main): Use isnan instead of x != x idiom.
+ * modules/frexp-tests (Depends-on): Add isnan-nolibm.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-frexp.c (NaN): New function/macro.
+ (main): Use it instead of 0.0 / 0.0.
+ * tests/test-isnan.c (NaN): New function/macro.
+ (main): Use it instead of 0.0 / 0.0.
+ * tests/test-vasnprintf-posix.c (NaN): New function/macro.
+ (test_function): Use it instead of 0.0 / 0.0.
+ * tests/test-vasprintf-posix.c (NaN): New function/macro.
+ (test_function): Use it instead of 0.0 / 0.0.
+ * tests/test-snprintf-posix.h (NaN): New function/macro.
+ (test_function): Use it instead of 0.0 / 0.0.
+ * tests/test-sprintf-posix.h (NaN): New function/macro.
+ (test_function): Use it instead of 0.0 / 0.0.
+ * tests/test-fprintf-posix.h (NaN): New function/macro.
+ (test_function): Use it instead of 0.0 / 0.0.
+ * tests/test-printf-posix.h (NaN): New function/macro.
+ (test_function): Use it instead of 0.0 / 0.0.
+
+ * lib/isnan.c (FUNC): Work around a DEC C compiler bug.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/glob_.h: Include <sys/stat.h>. Avoids warnings on AIX 5.1.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/regexec.c (merge_state_with_log): Make static.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/trigl.c (kernel_rem_pio2): Make static.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/sincosl.c (sincosl_table): Make static.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/argp.h (__restrict): Define to empty, rather than to 'restrict',
+ if the compiler does not support C99.
+
+2007-03-25 Bruno Haible <bruno@clisp.org>
+
+ * modules/time (Makefile.am): Ensure all rule action lines start with a
+ tab.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * modules/tsearch-tests: New file.
+ * tests/test-tsearch.sh: New file.
+ * tests/test-tsearch.c: New file, mostly copied from glibc.
+
+ * modules/search-tests: New file.
+ * tests/test-search.c: New file.
+
+ * modules/search: New file.
+ * lib/search_.h: New file, incorporating lib/tsearch.h.
+ * m4/search_h.m4: New file.
+ * lib/tsearch.h: Remove file.
+ * lib/tsearch.c: Include search.h instead of tsearch.h.
+ * m4/tsearch.m4 (gl_FUNC_TSEARCH): Require gl_SEARCH_H_DEFAULTS. Set
+ HAVE_TSEARCH.
+ * modules/tsearch (Files): Remove lib/tsearch.h.
+ (Depends-on): Add search.
+ (configure.ac): Invoke gl_SEARCH_MODULE_INDICATOR.
+ (Include): Change tsearch.h into search.h.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * modules/fpucw: New file.
+ * lib/fpucw.h: New file.
+ * lib/frexp.c: Include fpucw.h.
+ (DECL_ROUNDING, BEGIN_ROUNDING, END_ROUNDING): New macros.
+ (FUNC): Use them.
+ * lib/printf-frexp.c: Include fpucw.h.
+ (DECL_ROUNDING, BEGIN_ROUNDING, END_ROUNDING): New macros.
+ (FUNC): Use them.
+ * lib/vasnprintf.c: Include fpucw.h.
+ (VASNPRINTF): Invoke BEGIN/END_LONG_DOUBLE_ROUNDING around the
+ 'long double' calculations.
+ * tests/test-frexpl.c: Include fpucw.h.
+ (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING.
+ * tests/test-printf-frexpl.c: Include fpucw.h.
+ (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING.
+ * modules/frexpl (Depends-on): Add fpucw.
+ * modules/printf-frexpl (Depends-on): Likewise.
+ * modules/fprintf-posix (Depends-on): Likewise.
+ * 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/frexpl-tests (Depends-on): Likewise.
+ * modules/printf-frexpl-tests (Depends-on): Likewise.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * lib/float+.h: New file.
+ * lib/isnan.c: Include float+.h.
+ (SIZE): New macro.
+ (FUNC): Compare only SIZE bytes of the value.
+ * lib/vasnprintf.c: Include float+.h.
+ (VASNPRINTF): When comparing agains +0.0L or +0.0, compare only
+ SIZEOF_LDBL or SIZEOF_DBL bytes.
+ * modules/isnan-nolibm (Files): Add lib/float+.h.
+ * modules/isnanl-nolibm (Files): Add lib/float+.h.
+ * modules/isnanl (Files): Add lib/float+.h.
+ * modules/vasnprintf (Files): Add lib/float+.h.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * lib/vasnprintf.c [!HAVE_LONG_DOUBLE]: Include printf-frexp.h. Don't
+ include isnanl-nolibm.h.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-read-file.c (main): Don't produce spurious output for
+ expected situations. Make the test fail if it encountered unexpected
+ results.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * m4/locale-fr.m4 (gt_LOCALE_FR): Remove the special-casing of NetBSD,
+ since its fr_FR.ISO8859-1 locale wouldn't pass the tests.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Fix last change.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * modules/unistr/base (Depends-on): Remove utf8-ucs4-unsafe,
+ utf16-ucs4-unsafe, utf8-ucs4, utf16-ucs4, ucs4-utf8, ucs4-utf16.
+
+ * modules/unistr/u8-mbtouc: Add source files from module utf8-ucs4.
+ * modules/utf8-ucs4: Turn into a symbolic link to module
+ unistr/u8-mbtouc.
+
+ * modules/unistr/u8-mbtouc-unsafe: Add source files from module
+ utf8-ucs4-unsafe.
+ * modules/utf8-ucs4-unsafe: Turn into a symbolic link to module
+ unistr/u8-mbtouc-unsafe.
+
+ * modules/unistr/u16-mbtouc: Add source files from module utf16-ucs4.
+ * modules/utf16-ucs4: Turn into a symbolic link to module
+ unistr/u16-mbtouc.
+
+ * modules/unistr/u16-mbtouc-unsafe: Add source files from module
+ utf16-ucs4-unsafe.
+ * modules/utf16-ucs4-unsafe: Turn into a symbolic link to module
+ unistr/u16-mbtouc-unsafe.
+
+ * modules/unistr/u8-uctomb: Add source files from module utf4-utf8.
+ * modules/ucs4-utf8: Turn into a symbolic link to module
+ unistr/u8-ubtomb.
+
+ * modules/unistr/u16-uctomb: Add source files from module utf4-utf16.
+ * modules/ucs4-utf16: Turn into a symbolic link to module
+ unistr/u16-ubtomb.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * lib/unistr/u8-mbtouc-aux.c: Renamed from lib/unistr/utf8-ucs4.c.
+ Enable the function only if HAVE_INLINE.
+ * lib/unistr/u8-mbtouc-unsafe-aux.c: Renamed from
+ lib/unistr/utf8-ucs4-unsafe.c. Enable the function only if HAVE_INLINE.
+ * lib/unistr/u16-mbtouc-aux.c: Renamed from lib/unistr/utf16-ucs4.c.
+ Enable the function only if HAVE_INLINE.
+ * lib/unistr/u16-mbtouc-unsafe-aux.c: Renamed from
+ lib/unistr/utf16-ucs4-unsafe.c. Enable the function only if HAVE_INLINE.
+ * lib/unistr/u8-uctomb-aux.c: Renamed from lib/unistr/ucs4-utf8.c.
+ Enable the function only if HAVE_INLINE.
+ * lib/unistr/u16-uctomb-aux.c: Renamed from lib/unistr/ucs4-utf16.c.
+ Enable the function only if HAVE_INLINE.
+ * modules/utf8-ucs4: Update.
+ * modules/utf8-ucs4-unsafe: Update.
+ * modules/utf16-ucs4: Update.
+ * modules/utf16-ucs4-unsafe: Update.
+ * modules/ucs4-utf8: Update.
+ * modules/ucs4-utf16: Update.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * lib/utf8-ucs4.h: Remove file.
+ * lib/utf8-ucs4-unsafe.h: Remove file.
+ * lib/utf16-ucs4.h: Remove file.
+ * lib/utf16-ucs4-unsafe.h: Remove file.
+ * lib/ucs4-utf8.h: Remove file.
+ * lib/ucs4-utf16.h: Remove file.
+ * lib/unistr.h: Include their previous contents.
+ * m4/utf-ucs4.m4: Remove file.
+ * m4/ucs4-utf.m4: Remove file.
+ * modules/utf8-ucs4 (Files): Remove lib/utf8-ucs4.h.
+ (Depends-on): Add unistr/base.
+ (configure.ac): Remove gl_UTF_UCS4.
+ (Makefile.am): Update.
+ (Include): Change to unistr.h.
+ * modules/utf8-ucs4-unsafe (Files): Remove lib/utf8-ucs4-unsafe.h.
+ (Depends-on): Add unistr/base.
+ (configure.ac): Remove gl_UTF_UCS4.
+ (Makefile.am): Update.
+ (Include): Change to unistr.h.
+ * modules/utf16-ucs4 (Files): Remove lib/utf16-ucs4.h.
+ (Depends-on): Add unistr/base.
+ (configure.ac): Remove gl_UTF_UCS4.
+ (Makefile.am): Update.
+ (Include): Change to unistr.h.
+ * modules/utf16-ucs4-unsafe (Files): Remove lib/utf16-ucs4-unsafe.h.
+ (Depends-on): Add unistr/base.
+ (configure.ac): Remove gl_UTF_UCS4.
+ (Makefile.am): Update.
+ (Include): Change to unistr.h.
+ * modules/ucs4-utf8 (Files): Remove lib/ucs4-utf8.h.
+ (Depends-on): Add unistr/base.
+ (configure.ac): Remove gl_UCS4_UTF.
+ (Makefile.am): Update.
+ (Include): Change to unistr.h.
+ * modules/ucs4-utf16 (Files): Remove lib/ucs4-utf16.h.
+ (Depends-on): Add unistr/base.
+ (configure.ac): Remove gl_UCS4_UTF.
+ (Makefile.am): Update.
+ (Include): Change to unistr.h.
+ * lib/unistr/utf8-ucs4.c: Include unistr.h instead of utf8-ucs4.h.
+ * lib/unistr/utf8-ucs4-unsafe.c: Include unistr.h instead of
+ utf8-ucs4-unsafe.h.
+ * lib/unistr/utf16-ucs4.c: Include unistr.h instead of utf16-ucs4.h.
+ * lib/unistr/utf16-ucs4-unsafe.c: Include unistr.h instead of
+ utf16-ucs4-unsafe.h.
+ * lib/unistr/ucs4-utf8.c: Include unistr.h instead of ucs4-utf8.h.
+ * lib/unistr/ucs4-utf16.c: Include unistr.h instead of ucs4-utf16.h.
+ * lib/unistr/u8-chr.c: Don't include ucs4-utf8.h.
+ * lib/unistr/u8-strchr.c: Likewise.
+ * lib/unistr/u8-strrchr.c: Likewise.
+ * lib/unistr/u16-chr.c: Don't include ucs4-utf16.h.
+ * lib/unistr/u16-strchr.c: Likewise.
+ * lib/unistr/u16-strrchr.c: Likewise.
+ * lib/striconveh.c: Update.
+ * lib/linebreak.c: Update.
+
+2007-03-24 Bruno Haible <bruno@clisp.org>
+
+ * lib/argp-help.c (fill_in_uparams, canon_doc_option): Cast the
+ arguments of isspace, isalpha, isalnum, isdigit to 'unsigned char'.
+
+2007-03-22 Bruno Haible <bruno@clisp.org>
+
+ * lib/strptime.c (__strptime_internal): Use ANSI C syntax.
+
+2007-03-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ * MODULES.html.sh (File system functions): New module write-any-file.
+ * modules/write-any-file, lib/write-any-file.c, lib/write-any-file.h:
+ * m4/write-any-file.m4: New files.
+
+2007-03-23 Eric Blake <ebb9@byu.net>
+
+ * gnulib-tool: Rearrange space-tab sequences, since some editors
+ like to eat them.
+
+2007-03-23 Eric Blake <ebb9@byu.net>
+
+ * lib/version-etc.c (version_etc_va): Update license wording to
+ be more concise. Recommended by Richard Stallman.
+
+2007-03-22 Bruno Haible <bruno@clisp.org>
+
+ * lib/poll.c (MSG_PEEK): New fallback definition.
+
+2007-03-22 Bruno Haible <bruno@clisp.org>
+
+ * modules/sys_socket-tests (configure.ac): Check for shutdown function.
+ * tests/test-sys_socket.c (a): Test only if shutdown() exists.
+ (main): Update.
+ Fixes a compilation error on BeOS.
+
+2007-03-22 Bruno Haible <bruno@clisp.org>
+
+ * modules/frexpl-tests: New file.
+ * tests/test-frexpl.c: New file.
+
+ * modules/frexpl: New file.
+ * m4/frexpl.m4: New file.
+ * modules/math (Makefile.am): Also substitute GNULIB_FREXPL into math.h.
+ * lib/math_.h (frexpl): Test GNULIB_FREXPL instead of GNULIB_MATHL.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FREXPL.
+ * modules/mathl (Files): Remove lib/frexpl.c, lib/frexp.c.
+ (Depends-on): Add frexpl. Remove isnanl-nolibm.
+ * m4/mathl.m4 (gl_FUNC_LONG_DOUBLE_MATH): Don't test for frexpl.
+
+2007-03-22 Bruno Haible <bruno@clisp.org>
+
+ * lib/frexpl.c: Share code with lib/frexp.c.
+ * modules/mathl (Files): Add lib/frexp.c.
+ (Depends-on): Add isnanl-nolibm.
+
+2007-03-22 Bruno Haible <bruno@clisp.org>
+
+ * modules/printf-frexp (Files): Add m4/frexp.m4.
+ * m4/printf-frexp.m4 (gl_FUNC_PRINTF_FREXP): Define HAVE_FREXP_IN_LIBC
+ only if the found frexp function actually works.
+
+2007-03-22 Bruno Haible <bruno@clisp.org>
+
+ * lib/frexp.c: Remove older implementation that uses divisions.
+
+2007-03-21 Bruno Haible <bruno@clisp.org>
+
+ * modules/frexp-tests: New file.
+ * tests/test-frexp.c: New file.
+
+ * modules/frexp: New file.
+ * lib/frexp.c: New file.
+ * m4/frexp.m4: New file.
+ * lib/math_.h (frexp): New declaration.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Also initialize GNULIB_FREXP and
+ REPLACE_FREXP.
+ * modules/math (math.h): Also substitute GNULIB_FREXP, REPLACE_FREXP.
+
+2007-03-21 Bruno Haible <bruno@clisp.org>
+
+ * modules/isnanl-tests: New file.
+ * tests/test-isnanl.c: New file.
+
+ * modules/isnanl: New file.
+ * lib/isnanl.h: New file.
+ * m4/isnanl.m4 (gl_FUNC_ISNANL): New macro.
+ (gl_FUNC_ISNANL_NO_LIBM): Invoke gl_HAVE_ISNANL_NO_LIBM,
+ gl_FUNC_ISNANL_WORKS.
+ (gl_HAVE_ISNANL_NO_LIBM, gl_HAVE_ISNANL_IN_LIBM, gl_FUNC_ISNANL_WORKS):
+ New macros.
+
+2007-03-21 Bruno Haible <bruno@clisp.org>
+
+ * modules/isnanl-nolibm (Files): Add lib/isnanl-nolibm.h, remove
+ lib/isnanl.h.
+ (Include): Update.
+ * lib/isnanl-nolibm.h: Renamed from lib/isnanl.h.
+ * lib/vasnprintf.c: Update.
+ * modules/isnanl-nolibm-tests (Files): Add tests/test-isnanl-nolibm.c,
+ tests/test-isnanl.h, remove tests/test-isnanl.c.
+ (Makefile.am): Update.
+ * tests/test-isnanl-nolibm.c: New file.
+ * tests/test-isnanl.h: New file.
+ * tests/test-isnanl.c: Remove file.
+
+2007-03-21 Jim Meyering <jim@meyering.net>
+
+ When trying to open ".", treat ESTALE like EACCES.
+ * lib/savewd.c (savewd_save): Resort to forking not just upon
+ failure with EACCES, but also when errno is ESTALE.
+
+2007-03-20 Bruno Haible <bruno@clisp.org>
+
+ * lib/string_.h (strndup): Enable declaration also if HAVE_STRNDUP.
+ Needed on AIX 5.1. Reported by Matthew Woehlke.
+
+2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ Suggestions by Bruno Haible:
+ * lib/acl-internal.h: Include "gettext.h" rather than rolling
+ our own.
+ (ACL_NOT_WELL_SUPPORTED): Parenthesize arg when used.
+ * modules/acl (Depends-on): Add gettext.
+
+2007-03-19 Bruno Haible <bruno@clisp.org>
+
+ * modules/iconvme: Remove file.
+ * lib/iconvme.h: Remove file.
+ * lib/iconvme.c: Remove file.
+ * m4/iconvme.m4: Remove file.
+
+2007-03-19 Bruno Haible <bruno@clisp.org>
+
+ * doc/relocatable-maint.texi: Break long shell script line.
+ Suggested by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ Add limited support for Solaris 10 ZFS-style ACLs: just enough to
+ handle file_has_acl.
+ * lib/acl-internal.h, lib/acl_entries.c, lib/file-has-acl.c: New files.
+ * lib/acl.c: Move header inclusions and related macro defns into
+ lib/acl-internal.h.
+ (S_ISLNK): Remove defn, since that's now done for us.
+ (file_has_acl): Move to lib/file-has-acl.c.
+ Call acl_trivial if available. This is the crucial part of the fix.
+ (acl_entries): Move to lib/acl_entries.c. Now extern, since it's
+ shared within the library. Rewrite a bit, partly to make it compatible
+ with the GNU coding style.
+ * m4/acl.m4 (AC_FUNC_ACL): Add AC_LIBOBJ([file-has-acl]).
+ Remove unnecessary double-quotes.
+ Don't test for acl_to_text; the build will catch that.
+ Replace acl_entries if it doesn't exist and it is needed.
+ Check for -lsec and acl_trivial (as used on Solaris 10).
+ * modules/acl (Files): Add lib/acl-internal.h, lib/acl_entries.c,
+ lib/file-has-acl.c.
+ (Depends-on): Add sys_stat, for S_ISLNK.
+
+2007-03-19 Ben Pfaff <blp@gnu.org>
+
+ * doc/gnulib.texi: Fix typos.
+ Suggested by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2007-03-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/getcwd.c (__getcwd): Remove redundant comparison of buf to NULL.
+ If size is zero here, buf must be zero.
+
+2007-03-19 Simon Josefsson <simon@josefsson.org>
+
+ * des.c: Remove weak_keys_chksum. Reported by Bruno Haible
+ <bruno@clisp.org>.
+
+2007-03-18 Bruno Haible <bruno@clisp.org>
+
+ * lib/vasnprintf.c (VASNPRINTF): Undo first part of last patch.
+ Suggested by Eric Blake.
+
+2007-03-18 Ben Pfaff <blp@gnu.org>
+
+ * doc/relocatable.texi: Recommend using as prefix a directory
+ that does not exist and will never be created. Based on
+ discussion with Bruno Haible, Ralf Wildenhues, Matthew Woehlke,
+ and others.
+
2007-03-17 Bruno Haible <bruno@clisp.org>
- * lib/unistr/u8-cpy-alloc.c: Include <stdlib.h>.
- * lib/unistr/u16-cpy-alloc.c: Include <stdlib.h>.
- * lib/unistr/u32-cpy-alloc.c: Include <stdlib.h>.
+ * lib/fchownat.c: Include lchown.h.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ Fix endless loop when the given allocated size was > INT_MAX.
+ * lib/vasnprintf.c (EOVERFLOW): New fallback definition.
+ (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is
+ larger than INT_MAX, or when it grow to a value larger than INT_MAX.
+ * lib/vsprintf.c (vsprintf): Don't pass a size > INT_MAX to vasnprintf.
+ * lib/sprintf.c (sprintf): Likewise.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-argp-2.sh (func_compare): Output a context diff.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Check also the
+ locale's decimal-point character.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * lib/vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem
+ before comparing it. Needed because on some platforms (e.g. x86) a
+ 'long double' occupies less bytes than sizeof (long double).
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-crc.c (main): Make printf statements 64-bit clean.
+ * tests/test-gc-pbkdf2-sha1.c (main): Likewise.
+ * tests/test-getaddrinfo.c (simple): Likewise.
+ * tests/test-read-file.c (main): Likewise.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-dirname.c (main): Make printf statements 64-bit clean.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Remove
+ unused variable.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-c-strcasecmp.c: Include c-strcase.h.
+ * tests/test-c-strncasecmp.c: Likewise.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * modules/stdlib (Depends-on): Add unistd.
+ * lib/stdlib_.h: Include <unistd.h> if mkstemp is desired.
+ Needed for MacOS X 10.3.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * lib/unistr/u-strdup.h: Include <stdlib.h>.
+
+2007-03-17 Bruno Haible <bruno@clisp.org>
+
+ * lib/unistr/u-cpy-alloc.h: Include <stdlib.h>.
2007-03-17 Bruno Haible <bruno@clisp.org>
* m4/isc-posix.m4: New file.
-1998-05-10 Jim Meyering <meyering@ascend.com>
-
- * m4/jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
-
-1998-05-09 Jim Meyering <meyering@ascend.com>
-
- * m4/Makefile.am (EXTRA_DIST): Add ssize_t.m4.
- (EXTRA_DIST): Remove mktime.m4, now that the new version is included
- with automake.
-
- * m4/ssize_t.m4: New file.
- * m4/mktime.m4: Remove file -- the new automake has this now.
-
-1998-04-26 Jim Meyering <meyering@ascend.com>
-
- * m4/assert.m4: New file.
- * m4/Makefile.am (EXTRA_DIST): Add assert.m4.
-
-1998-04-05 Jim Meyering <meyering@ascend.com>
-
- * m4/prereq.m4 (jm_PREREQ_REGEX): New macro.
- (jm_PREREQ): Use it here.
-
-1998-03-23 Jim Meyering <meyering@eng.ascend.com>
-
- * m4/inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
- in acconfig.h.
-
-1998-03-15 Jim Meyering <meyering@eng.ascend.com>
-
- * m4/prereq.m4: New file.
- * m4/error.m4: New file.
- * m4/Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
-
-1998-02-07 Jim Meyering <meyering@eng.ascend.com>
-
- * m4/getline.m4: Don't set am_cv_func_working_getline before the
- cache-check for the same variable -- that defeated the purpose of
- the test; the test program was never run. This was a problem only
- on systems with losing getline functions -- HP-UX 10.20 is one.
- Reported by Bjorn Helgaas.
-
-1998-02-06 Jim Meyering <meyering@eng.ascend.com>
-
- * m4/Makefile.am (EXTRA_DIST): Add perl.m4.
-
-1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
-
- * m4/Makefile.am (EXTRA_DIST): Add const.m4.
-
- * m4/const.m4: New file. Use an initializer in this declaration
- typedef int charset[2]; const charset x;
- Reported by Bob Glickstein.
-
-1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
-
- * m4/chown.m4: Fix reversed types on -1 args to chown.
- From Kaveh Ghazi.
-
-1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
-
- * m4/check-decl.m4: s/DECLARATION_/DECL_/g.
- Add lseek and memchr.
-
- * m4/decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
- T.E.Dickey <dickey@clark.net> said that some older preprocessors
- have a 20-character limit on names.
-
-1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
-
- * m4/inttypes_h.m4: New file.
- * m4/uintmax_t.m4: New file.
- * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
-
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
- Free Software Foundation, Inc.
-Copying and distribution of this file, with or without modification,
-are permitted provided the copyright notice and this notice are preserved.
+1998-05-10 Jim Meyering <meyering@ascend.com>
\ No newline at end of file