* m4/putenv.m4 (gl_FUNC_PUTENV): Also mention that we're checking
[gnulib.git] / ChangeLog
index 3baecae..c34257d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,127 @@
+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>
+
+       * modules/fbufmode-tests (MOSTLYCLEANFILES): Remove temp files.
+       * modules/freadable-tests (MOSTLYCLEANFILES): Likewise.
+       * modules/fwritable-tests (MOSTLYCLEANFILES): Likewise.
+
+2007-10-29  Bruno Haible  <bruno@clisp.org>
+
+       * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Rename the cache variable to
+       contain the special marker '_cv_'.
+       * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): Likewise.
+       * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Likewise.
+       * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Likewise.
+       * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): Likewise.
+       * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Likewise.
+       Reported by Ralf Wildenhues.
+
+2007-10-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): When --lgpl is not specified, set
+       sed_transform_lib_file to convert LGPL and GPLv2+ copyright headers to
+       GPLv3.
+       Reported by Simon Josefsson.
+
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       * lib/math.in.h: Test REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
+       * m4/isfinite.m4 (gl_ISFINITE): Initialize REPLACE_ISFINITE instead of
+       HAVE_DECL_ISFINITE.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update.
+       * modules/math (Makefile.am): Substitute REPLACE_ISFINITE instead of
+       HAVE_DECL_ISFINITE.
+
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint.in.h (_STDINT_MAX): Subtract 1 from an unused signed
+       integer shift in the signed case. Fixes warnings with OSF/1 5.1 cc.
+
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       Fix link errors with Sun C 5.0 on Solaris 10.
+       * m4/floorf.m4 (gl_FUNC_FLOORF): Consider also the case that the
+       function is declared but not present in the compiler's libm.
+       * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
+       * m4/ceill.m4 (gl_FUNC_CEILL: Likewise.
+       * lib/math.in.h: Test REPLACE_CEILF instead of HAVE_DECL_CEILF.
+       Test REPLACE_CEILL instead of HAVE_DECL_CEILL.
+       Test REPLACE_FLOORF instead of HAVE_DECL_FLOORF.
+       Test REPLACE_FLOORL instead of HAVE_DECL_FLOORL.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update.
+       * modules/math (Makefile.am): Substitute REPLACE_CEILF instead of
+       HAVE_DECL_CEILF, REPLACE_CEILL instead of HAVE_DECL_CEILL,
+       REPLACE_FLOORF instead of HAVE_DECL_FLOORF, REPLACE_FLOORL instead of
+       HAVE_DECL_FLOORL.
+
 2007-10-28  Bruno Haible  <bruno@clisp.org>
 
        * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): New macro, extracted from