Detect pseudo-denormals on x86 even when cross-compiling.
[gnulib.git] / ChangeLog
index 9b33278..127f9a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,272 @@
+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.
        Reported by Eric Blake.
 
 2007-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * modules/malloc (configure.ac): Define GNULIB_MALLOC_GNU always.
        * modules/realloc (configure.ac): Define GNULIB_REALLOC_GNU always.
        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.