Make the API of mem_cd_iconv more useful.
[gnulib.git] / ChangeLog
index d4169aa..a6a27d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,77 @@
+2007-01-21  Bruno Haible  <bruno@clisp.org>
+
+       * lib/striconv.h (mem_cd_iconv): Change specification.
+       * lib/striconv.c (mem_cd_iconv): Don't free the user-supplied original
+       result buffer.
+       (str_cd_iconv): Update.
+       * tests/test-striconv.c (main): Update.
+
+2007-01-21  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Fix test whether sed is GNU sed supporting --posix.
+
+2007-01-20  Jim Meyering  <jim@meyering.net>
+
+       * lib/userspec.c (parse_with_separator): If a user or group string
+       starts with "+", skip the corresponding name-to-ID look-up, since
+       such a look-up must fail: user and group names may not include "+".
+
+2007-01-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/poll.c: Include sys/time.h and time.h unconditionally,
+       since we now assume the sys_time module.
+       * m4/poll.m4 (gl_PREREQ_POLL): Don't require AC_HEADER_TIME or
+       check for sys/time.h; no longer needed.
+       * modules/poll (Depends-on): Depend on sys_time.
+
+2007-01-18  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mktime.m4 (AC_FUNC_MKTIME): Remove test for <sys/time.h>.
+       * m4/strftime.m4 (gl_FUNC_STRFTIME): Likewise.
+
+       * m4/tempname.m4 (gl_PREREQ_TEMPNAME): Remove tests for sys/time.h and
+       gettimeofday.
+
+       * tests/test-gettimeofday.c: Include <time.h>.
+       (dummy): Remove variable.
+
+       * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Renamed from
+       gl_HEADER_SYS_TIME_H.
+       (gl_HEADER_SYS_TIME_H): New macro.
+
+       * lib/sys_time_.h: Test GETTIMEOFDAY_REPLACEMENT instead of
+       HAVE_GETTIMEOFDAY_POSIX_SIGNATURE and GETTIMEOFDAY_CLOBBERS_LOCALTIME.
+       * m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY,
+       gl_FUNC_GETTIMEOFDAY_CLOBBER): Set GETTIMEOFDAY_REPLACEMENT instead of
+       HAVE_GETTIMEOFDAY_POSIX_SIGNATURE and GETTIMEOFDAY_CLOBBERS_LOCALTIME.
+       * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H): Initialize
+       GETTIMEOFDAY_REPLACEMENT instead of HAVE_GETTIMEOFDAY_POSIX_SIGNATURE
+       and GETTIMEOFDAY_CLOBBERS_LOCALTIME.
+       * modules/sys_time (sys/time.h): Substitute GETTIMEOFDAY_REPLACEMENT
+       instead of HAVE_GETTIMEOFDAY_POSIX_SIGNATURE and
+       GETTIMEOFDAY_CLOBBERS_LOCALTIME.
+
+       * m4/gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): Undo the
+       last change; it caused a compilation error when cross-compiling to
+       Cygwin.
+
+2007-01-18  Jim Meyering  <jim@meyering.net>
+
+       Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys".
+       * modules/sys_stat (Makefile.am): Use "$(MKDIR_P) sys", rather
+       than the race-prone "test -d sys || mkdir sys".
+       (configure.ac): Use AC_PROG_MKDIR_P.
+       * modules/sys_select: Likewise.
+       * modules/sys_socket: Likewise.
+       * modules/sys_time: Likewise.
+
+2007-01-18  Eric Blake  <ebb9@byu.net>
+
+       * m4/gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): Also
+       replace gettimeofday.
+       * lib/gettimeofday.c (rpl_gettimeofday): Declare with replacement
+       name, to avoid infinite recursion.
+
 2007-01-17  Paul Eggert  <eggert@cs.ucla.edu>
 
        * MODULES.html.sh (Support for systems lacking POSIX:2001): New