Include <stdlib.h>.
[gnulib.git] / ChangeLog
index 5db2619..662e058 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,159 @@
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbslen.c: Include <stdlib.h>, needed for MB_CUR_MAX.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbiter.h: Include <stddef.h>, needed for ptrdiff_t.
+       * lib/mbuiter.h: Likewise.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Check for _snprintf
+       declaration.
+
+2007-06-10  Karl Berry  <karl@gnu.org>
+
+       * config/srclist.txt: remove gettext entries, Bruno prefers
+       to update individually.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Remove variable
+       'maxlen'. Ensure only length + width bytes are allocated, not
+       length + 1 + width.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (FCHAR_T, DCHAR_T, TCHAR_T): New macros.
+       (CHAR_T): Remove macro.
+       (VASNPRINTF): Update.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (Unicode string functions): Add the new modules.
+
+       * modules/uniconv/u32-conv-to-enc: New file.
+       * lib/uniconv/u32-conv-to-enc.c: New file.
+       * modules/uniconv/u32-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u32-conv-to-enc.c: New file.
+
+       * modules/uniconv/u16-conv-to-enc: New file.
+       * lib/uniconv/u16-conv-to-enc.c: New file.
+       * lib/uniconv/u-conv-to-enc.h: New file.
+       * modules/uniconv/u16-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u16-conv-to-enc.c: New file.
+
+       * modules/uniconv/u8-conv-to-enc: New file.
+       * lib/uniconv/u8-conv-to-enc.c: New file.
+       * modules/uniconv/u8-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u8-conv-to-enc.c: New file.
+
+       * lib/uniconv.h (u8_conv_to_encoding, u16_conv_to_encoding,
+       u32_conv_to_encoding): New declarations.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * tests/uniconv/test-u32-strconv-to-enc.c (main): Remove unused code.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       Rename 'allocsa' -> 'malloca', 'freesa' -> 'freea'.
+       * modules/malloca: Renamed from modules/allocsa, updated.
+       * lib/malloca.h: Renamed from lib/allocsa.h, updated.
+       * lib/malloca.c: Renamed from lib/allocsa.c, updated.
+       * lib/malloca.valgrind: Renamed from lib/allocsa.valgrind, updated.
+       * m4/malloca.m4: Renamed from m4/allocsa.m4, updated.
+       * modules/malloca-tests: Renamed from modules/allocsa-tests, updated.
+       * tests/test-malloca.c: Renamed from tests/test-allocsa.c, updated.
+       * modules/xmalloca: Renamed from modules/xallocsa, updated.
+       * lib/xmalloca.h: Renamed from lib/xallocsa.h, updated.
+       * lib/xmalloca.c: Renamed from lib/xallocsa.c, updated.
+       * modules/c-strcasestr (Depends-on): Update.
+       * lib/c-strcasestr.c: Update.
+       * modules/c-strstr (Depends-on): Update.
+       * lib/c-strstr.c: Update.
+       * modules/canonicalize-lgpl (Depends-on): Update.
+       * lib/canonicalize-lgpl.c: Update.
+       * modules/clean-temp (Depends-on): Update.
+       * lib/clean-temp.c: Update.
+       * modules/csharpcomp (Depends-on): Update.
+       * lib/csharpcomp.c: Update.
+       * modules/csharpexec (Depends-on): Update.
+       * lib/csharpexec.c: Update.
+       * modules/javacomp (Depends-on): Update.
+       * lib/javacomp.c: Update.
+       * modules/javaexec (Depends-on): Update.
+       * lib/javaexec.c: Update.
+       * modules/mbscasestr (Depends-on): Update.
+       * lib/mbscasestr.c: Update.
+       * modules/mbsstr (Depends-on): Update.
+       * lib/mbsstr.c: Update.
+       * modules/setenv (Depends-on): Update.
+       * lib/setenv.c: Update.
+       * modules/strcasestr (Depends-on): Update.
+       * lib/strcasestr.c: Update.
+       * modules/striconveha (Depends-on): Update.
+       * lib/striconveha.c: Update.
+       * modules/relocatable-prog-wrapper (Files): Update.
+       * lib/relocwrapper.c: Update.
+       * build-aux/install-reloc: Update.
+       * MODULES.html.sh (Memory management functions <stdlib.h>): Update.
+
+2007-06-08  Bruno Haible  <bruno@clisp.org>
+
+       Port to uClibc.
+       * lib/fbufmode.c (fbufmode): Add special code for uClibc.
+       * lib/fpurge.c (fpurge): Likewise.
+       * lib/freading.c (freading): Likewise.
+       * lib/fseeko.c (rpl_fseeko): Likewise.
+       * lib/fseterr.c (fseterr): Likewise.
+       * lib/fwriting.c (fwriting): Likewise.
+       * tests/test-fflush.c (main): Avoid a failure on uClibc.
+
+2007-06-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/intlmacosx.m4: New file, extracted from gettext.m4.
+       * m4/gettext.m4 (gt_INTL_MACOSX): Remove macro, moved to intlmacosx.m4.
+       * modules/gettext (Files): Add m4/intlmacosx.m4.
+
+2007-06-07  Bruno Haible  <bruno@clisp.org>
+
+       * modules/localename-tests: New file.
+       * tests/test-localename.c: New file.
+
+       New module 'localename'.
+       * lib/localename.h: New file.
+       * lib/localename.c: New file, from GNU gettext.
+       * m4/localename.m4: New file.
+       * modules/localename: New file.
+
+2007-06-07  Bruno Haible  <bruno@clisp.org>
+
+       Work around the lack of <wchar.h> on some builds of uClibc.
+       * doc/headers/wchar.texi: Update.
+       * lib/wchar_.h: Include <wchar.h> only if it exists.
+       * m4/wchar.m4 (gl_WCHAR_H): Check for <wchar.h>. Set HAVE_WCHAR_H.
+       * m4/stdint.m4 (gl_STDINT_H): Check for <wchar.h>.
+       (gl_STDINT_TYPE_PROPERTIES): Don't try to include <wchar.h> if it
+       doesn't exist.
+       * modules/wchar (wchar.h): Substitute HAVE_WCHAR_H.
+       * modules/mbfile (Depends-on): Add wchar.
+       * modules/mbiter (Depends-on): Likewise.
+       * modules/mbuiter (Depends-on): Likewise.
+       Reported by Simon Josefsson.
+
+2007-06-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Work around problem reported by Steven M. Schweda in
+       <http://lists.gnu.org/archive/html/bug-tar/2007-06/msg00002.html>:
+       Tru64 5.1B with the Compaq compiler environment installed declares
+       an 'isblank' function but does not define it in the C library.
+       * lib/fnmatch.c (isblank): Check for HAVE_ISBLANK, too.
+       * lib/regex_internal.h (isblank): Likewise.
+       * m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for isblank existence.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
+
 2007-06-05  Bruno Haible  <bruno@clisp.org>
 
        Fix *printf so that it recognizes non-IEEE numbers on i386, x86_64,