Fix problem with _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H on VMS.
[gnulib.git] / ChangeLog
index 43d31a6..d52195d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,178 @@
+2007-12-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix problem with _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H on VMS.
+       * lib/stdint.in.h (_GL_JUST_INCLUDE_SYSTEM_INTTYPES_H): Define
+       before any system include files, and undef after them all.  This
+       should fix a problem on VMS reported by John E. Malmberg in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00118.html>.
+
+2007-12-17  Eric Blake  <ebb9@byu.net>
+
+       Revert addition of verify, for BSD/OS.
+       * lib/fseeko.c [!HAVE_FSEEKO]: Allow off_t > long, even though it
+       can't handle large files, for the sake of obsolete platforms.
+       * modules/fseeko (Depends-on): Remove verify.
+       * doc/functions/fseeko.texi (fseeko): Document BSD/OS limitation.
+       * doc/functions/ftello.texi (ftello): Likewise.
+       * doc/functions/fgetpos.texi (fgetpos): Likewise.
+       Reported by Larry Jones.
+
+2007-12-17  Petr Salinger  <Petr.Salinger@seznam.cz>
+
+       getcwd.c: Use a more readable witness: HAVE_OPENAT_SUPPORT
+       * lib/getcwd.c: Define and use HAVE_OPENAT_SUPPORT, in place of AT_FDCWD.
+
+2007-12-17  Jim Meyering  <meyering@redhat.com>
+
+       Port to GNU/kFreeBSD - FreeBSD kernel + GNU libc,
+       which has no openat syscall, yet <fcntl.h> does define AT_FDCWD.
+       * lib/getcwd.c: Undef AT_FDCWD if there is no openat function.
+       * modules/getcwd (Depends-on): Add openat.
+       Reported by Petr Salinger.
+
+2007-12-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Use GL_NOCRASH to
+       avoid a segmentation fault of the configure test on x86_64 systems.
+
+2007-12-15  Jim Meyering  <meyering@redhat.com>
+
+       * build-aux/gnupload (GPG): Don't hard-code absolute name of gpg binary.
+
+2007-12-13  Eric Blake  <ebb9@byu.net>
+
+       Another fseek test.
+       * tests/test-fseek.c (main): Also test ungetc handling.
+       * tests/test-fseeko.c (main): Likewise.
+       * modules/fseeko (Depends-on): Add verify.
+       * lib/fseeko.c [!HAVE_FSEEKO]: Verify that off_t is not too
+       large.
+       Reported by Larry Jones.
+
+       Fix fseeko on mingw.
+       * lib/fseeko.c (rpl_fseeko) [_IOERR]: Reset EOF flag on successful
+       seek.
+
+       Beef up fseek tests.
+       * tests/test-fseek.c (main): Also test eof handling.
+       * tests/test-fseeko.c (main): Likewise.
+       Reported by Larry Jones.
+
+2007-12-13  Larry Jones  <lawrence.jones@siemens.com>  (tiny change)
+
+       Fix fseeko on BSD-based platforms.
+       * lib/fseeko.c (rpl_fseeko) [__sferror]: Reset EOF flag on
+       successful seek.
+
+2007-12-12  Eric Blake  <ebb9@byu.net>
+
+       Allow circular dependency of separate libtests.a
+       * gnulib-tool (func_emit_tests_Makefile_am): Add AM_LIBTOOLFLAGS
+       when use_libtests.
+
+2007-12-11  Eric Blake  <ebb9@byu.net>
+
+       Fix bug with -0.0L in previous patch.
+       * lib/isnan.c (rpl_isnanl): Make robust to -0.0L and pad bits.
+       * tests/test-isnan.c (main): Also test on zeroes.
+       * tests/test-isnanf.c (main): Likewise.
+       * tests/test-isnanl.h (main): Likewise.
+
+       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