mktime: skip configure test (fail it) for apple universal builds
[gnulib.git] / ChangeLog
index 12adb30..07eb24a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,180 @@
+2009-01-21  Bruno Haible  <bruno@clisp.org>
+       and Jim Meyering  <meyering@redhat.com>
+
+       mktime: skip configure test (fail it) for apple universal builds
+       * m4/mktime.m4 (AC_FUNC_MKTIME): Require gl_MULTIARCH. In Apple
+       universal builds, assume that mktime does not work.
+       * modules/mktime (Depends-on): Add multiarch.
+
+2009-01-21  Eric Blake  <ebb9@byu.net>
+
+       multiarch: avoid expand-before-require warning
+       * modules/multiarch (configure.ac): Require, rather than expand,
+       gl_MULTIARCH.
+       * m4/multiarch.m4 (gl_MULTIARCH_BODY): Merge...
+       (gl_MULTIARCH): ...into this macro, and use AC_DEFUN_ONCE to
+       enforce that all clients require it.  Partial reversion of
+       2008-12-29 patch.
+
+       error: avoid expand-before-require warning
+       * modules/errno (configure.ac): Require, rather than expand,
+       gl_HEADER_ERRNO_H.
+       * m4/errno_h.m4 (gl_HEADER_ERRNO_H_BODY): Merge...
+       (gl_HEADER_ERRNO_H): ...into this macro, and use AC_DEFUN_ONCE to
+       enforce that all clients require it.
+
+       gnulib-tool: avoid warnings from using obsolete AC_GNU_SOURCE
+       * gnulib-tool (func_dest_tmpfilename, func_create_testdir): Using
+       obsolete AC_GNU_SOURCE causes out-of-order expansion; avoid it,
+       and rely solely on gl_USE_SYSTEM_EXTENSIONS.
+
+2009-01-21  Paolo Bonzini  <bonzini@gnu.org>
+
+       Revert:
+       2009-01-20  Paolo Bonzini  <bonzini@gnu.org>
+
+       regex: do not depend on obsolete modules.
+       * modules/regex: Remove memcmp and memmove.
+
+2009-01-20  Bruno Haible  <bruno@clisp.org>
+
+       Make the 'link' module link on Windows NT 4.
+       * lib/link.c (_WIN32_WINNT): Don't define.
+       (CreateHardLinkFuncType): New type.
+       (CreateHardLinkFunc, initialized): New variables.
+       (initialize): New function.
+       (link): Invoke CreateHardLink indirectly through the function pointer.
+
+2009-01-20  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation failure on mingw.
+       * tests/test-link.c (main): Don't assume that EOPNOTSUPP exists.
+
+2009-01-20  Michael Gold  <mgold@ncf.ca>  (tiny change)
+
+       * doc/c-strtod.texi: Mention a couple of restrictions.
+
+2009-01-20  Jim Meyering  <meyering@redhat.com>
+
+       gettimeofday: move more declarations out of functions
+       * lib/gettimeofday.c: Move extern declarations of tzset and
+       gmtime out of containing functions.  Prompted by Bruno Haible.
+
+2009-01-20  Paolo Bonzini  <bonzini@gnu.org>
+
+       regex: do not depend on obsolete modules.
+       * modules/regex: Remove memcmp and memmove.
+
+2009-01-19  Bruno Haible  <bruno@clisp.org>
+
+       Don't use AC_REQUIRE([AC_C_BIGENDIAN]).
+       * modules/uniconv/u16-conv-from-enc (configure.ac): Require
+       gl_BIGENDIAN, not AC_C_BIGENDIAN.
+       * modules/uniconv/u16-conv-to-enc (configure.ac): Likewise.
+       * modules/uniconv/u16-strconv-to-enc (configure.ac): Likewise.
+
+2009-01-19  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-link.c: Include <errno.h>.
+       (main): Exit with code 77 when a hard link cannot be created due to
+       the file system.
+       * tests/test-link.sh: Skip test when a hard link cannot be created due
+       to the file system.
+       Suggested by Eric Blake.
+
+2009-01-19  Martin Lambers  <marlam@marlam.de>
+
+       * modules/link-tests: New file.
+       * tests/test-link.sh: New file.
+       * tests/test-link.c: New file.
+
+2009-01-19  Eric Blake  <ebb9@byu.net>
+
+       doc: mention another function added in cygwin 1.7.0
+       * doc/glibc-functions/glob_pattern_p.texi (glob_pattern_p):
+       Another new function in cygwin 1.7.
+
+2009-01-19  Bruno Haible  <bruno@clisp.org>
+
+       Don't use AC_REQUIRE([AC_C_BIGENDIAN]).
+       * m4/gnulib-common.m4 (gl_BIGENDIAN): New macro.
+       * m4/exponentl.m4 (gl_LONG_DOUBLE_EXPONENT_LOCATION): Require
+       gl_BIGENDIAN, not AC_C_BIGENDIAN.
+       * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Likewise.
+       * m4/isinf.m4 (gl_ISINFL_WORKS): Likewise.
+       * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Likewise.
+       * m4/md4.m4 (gl_MD4): Likewise.
+       * m4/md5.m4 (gl_MD5): Likewise.
+       * m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Likewise.
+       * m4/sha1.m4 (gl_SHA1): Likewise.
+       * m4/sha256.m4 (gl_SHA256): Likewise.
+       * m4/sha512.m4 (gl_SHA512): Likewise.
+
+2009-01-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/uniname/uniname-tests (Depends-on): Add progname.
+       * tests/uniname/test-uninames.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u8-vsprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u8-vsprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u8-vsnprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u8-vsnprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u16-vsprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u16-vsprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u16-vsnprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u16-vsnprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u32-vsprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u32-vsprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/u32-vsnprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-u32-vsnprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/ulc-vsprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-ulc-vsprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+       * modules/unistdio/ulc-vsnprintf-tests (Depends-on): Add progname.
+       * tests/unistdio/test-ulc-vsnprintf1.c: Include progname.h.
+       (main): Call set_program_name.
+
+2009-01-19  Eric Blake  <ebb9@byu.net>
+
+       test-unistd: test previous patch
+       * tests/test-unistd.c: Test *_FILENO macros.
+
+       unistd: guarantee STDIN_FILENO here, for OS/2 EMX
+       * lib/unistd.in.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
+       Guarantee a definition.
+       * doc/posix-headers/unistd.texi (unistd.h): Document the bug.
+       * modules/unistd-safer (Depends-on): Add dependency on unistd.
+       * lib/c-stack.c (STDERR_FILENO): Rely on <unistd.h>.
+       * lib/dup-safer.c (STDERR_FILENO): Likewise.
+       * lib/execute.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
+       Likewise.
+       * lib/fd-safer.c (STDIN_FILENO, STDERR_FILENO): Likewise.
+       * lib/fopen-safer.c (STDERR_FILENO): Likewise.
+       * lib/pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
+       Likewise.
+       * lib/tmpfile-safer.c (STDERR_FILENO): Likewise.
+       * tests/test-posix_spawn1.c (STDIN_FILENO, STDOUT_FILENO)
+       (STDERR_FILENO): Likewise.
+       * tests/test-posix_spawn2.c (STDIN_FILENO, STDOUT_FILENO)
+       (STDERR_FILENO): Likewise.
+       * tests/test-posix_spawn3.c (STDIN_FILENO, STDOUT_FILENO)
+       (STDERR_FILENO): Likewise.
+       Reported by Elbert Pol.
+
 2009-01-19  Eric Blake  <ebb9@byu.net>
 
        doc: mention more functions added in cygwin 1.7.0