+2010-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Tests for module 'realloc-gnu'.
+ * modules/realloc-gnu-tests: New file.
+ * tests/test-realloc-gnu.c: New file.
+
+ Tests for module 'calloc-gnu'.
+ * modules/calloc-gnu-tests: New file.
+ * tests/test-calloc-gnu.c: New file.
+
+ Tests for module 'malloc-gnu'.
+ * modules/malloc-gnu-tests: New file.
+ * tests/test-malloc-gnu.c: New file.
+
+2010-08-28 Bruno Haible <bruno@clisp.org>
+
+ Rename module 'realloc' -> 'realloc-gnu'.
+ * modules/realloc-gnu: New file, copied from modules/realloc.
+ * modules/realloc: Convert to a redirection to 'realloc-gnu'. Mark as
+ obsolete.
+ * modules/mgetgroups (Depends-on): Update.
+ * doc/posix-functions/realloc.texi: Update.
+ * NEWS: Mention the change.
+
+ Rename module 'calloc' -> 'calloc-gnu'.
+ * modules/calloc-gnu: New file, copied from modules/calloc.
+ * modules/calloc: Convert to a redirection to 'calloc-gnu'. Mark as
+ obsolete.
+ * doc/posix-functions/calloc.texi: Update.
+ * NEWS: Mention the change.
+
+ Rename module 'malloc' -> 'malloc-gnu'.
+ * modules/malloc-gnu: New file, copied from modules/malloc.
+ * modules/malloc: Convert to a redirection to 'malloc-gnu'. Mark as
+ obsolete.
+ * modules/argp (Depends-on): Update.
+ * modules/regex (Depends-on): Update.
+ * doc/posix-functions/malloc.texi: Update.
+ * NEWS: Mention the change.
+
+2010-08-28 Eric Blake <eblake@redhat.com>
+
+ pread, pwrite: add missing dependency
+ * modules/pread (Depends-on): Add extensions.
+ * modules/pwrite (Depends-on): Likewise.
+
+2010-08-28 Bruno Haible <bruno@clisp.org>
+
+ unistr/u*-strchr: Fix tests dependencies.
+ * modules/unistr/u8-strchr-tests (Depends-on): Add unistr/u32-to-u8.
+ * modules/unistr/u16-strchr-tests (Depends-on): Add unistr/u32-to-u16.
+ Reported by Ian Beckwith <ianb@erislabs.net>.
+
+2010-08-28 Bruno Haible <bruno@clisp.org>
+
+ read-file: Don't occupy too much unused memory.
+ * lib/read-file.c (fread_file): Shrink the buffer at the end.
+
+2010-08-28 Giuseppe Scrivano <gscrivano@gnu.org>
+ Eric Blake <eblake@redhat.com>
+ Bruno Haible <bruno@clisp.org>
+
+ read-file: Avoid memory reallocations with regular files.
+ * lib/read-file.c: Include <sys/stat.h>, <stdio.h>, <stdint.h>.
+ (fread_file): With regular files, use the remaining length as the
+ initial buffer size. Check against overflow.
+ * modules/read-file (Depends-on): Add ftello, malloc-posix, stdint,
+ sys_stat.
+
+2010-08-28 Bruno Haible <bruno@clisp.org>
+
+ ftello: Relax license.
+ * modules/ftello (License): Relax to LGPLv2+.
+ Reported by Eric Blake.
+
+2010-08-28 Bruno Haible <bruno@clisp.org>
+
+ Avoid relocwrapper link errors due to gnulib replacement functions.
+ * lib/canonicalize-lgpl.c [IN_RELOCWRAPPER]: Use the system's getcwd
+ function.
+ Reported by Ben Pfaff <blp@cs.stanford.edu>.
+
+2010-08-28 Bruno Haible <bruno@clisp.org>
+
+ Prefer using AC_DEFUN_ONCE over AC_DEFUN in projects with gnulib.
+ * m4/iconv.m4 (gl_iconv_AC_DEFUN): Use AC_DEFUN_ONCE if gl_00GNULIB is
+ defined.
+ * m4/libunistring.m4 (gl_libunistring_AC_DEFUN): Likewise.
+ Suggested by Eric Blake.
+
+2010-08-28 Bruno Haible <bruno@clisp.org>
+
+ sys_socket, netdb: Ensure socklen_t gets defined.
+ * modules/sys_socket (Depends-on): Add socklen.
+ * modules/netdb (Depends-on): Likewise.
+ * modules/getaddrinfo (Depends-on): Remove socklen.
+ * modules/getsockopt (Depends-on): Likewise.
+ * modules/setsockopt (Depends-on): Likewise.
+ * tests/test-sys_socket.c: Check that socklen_t is defined.
+ * tests/test-netdb.c: Likewise.
+ * m4/socklen.m4: Update comments.
+ Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2010-08-27 Eric Blake <eblake@redhat.com>
+
+ login_tty: add missing dependency
+ * modules/login_tty (Depends-on): Add pty.
+
+2010-08-26 Eric Blake <eblake@redhat.com>
+
+ lib-symbol-versions: fix m4 quoting
+ * m4/ld-version-script.m4 (gl_LD_VERSION_SCRIPT): Use correct
+ format for AC_LINK_IFELSE.
+
+ glob: fix compile test
+ * m4/glob.m4 (gl_GLOB): Use correct format for AC_COMPILE_IFELSE.
+
+ btowc: fix missing file
+ * modules/btowc (Files): Also ship locale-fr.m4.
+
+ lseek: fix link test
+ * m4/lseek.m4 (gl_FUNC_LSEEK): Use correct format for
+ AC_LINK_IFELSE.
+
+ include_next: silence autoconf 2.68 warning
+ * m4/include_next.m4 (gl_INCLUDE_NEXT): Mark this use of
+ AC_COMPILE_IFELSE as special.
+ (AC_LANG_DEFINES_PROVIDED): Provide dummy implementation for
+ autoconf < 2.68.
+
+ acl: fix compilation test
+ * m4/acl.m4 (gl_FUNC_ALL): Use correct format for
+ AC_COMPILE_IFELSE.
+
+2010-08-26 Bruno Haible <bruno@clisp.org>
+
+ Modernize AC_TRY_RUN invocations.
+ * m4/btowc.m4 (gl_FUNC_BTOWC): Use AC_RUN_IFELSE instead of AC_TRY_RUN.
+ * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Likewise.
+ * m4/exponentd.m4 (gl_DOUBLE_EXPONENT_LOCATION): Likewise.
+ * m4/exponentf.m4 (gl_FLOAT_EXPONENT_LOCATION): Likewise.
+ * m4/exponentl.m4 (gl_LONG_DOUBLE_EXPONENT_LOCATION): Likewise.
+ * m4/fopen.m4 (gl_FUNC_FOPEN): Likewise.
+ * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Likewise.
+ * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Likewise.
+ * m4/ftello.m4 (gl_FUNC_FTELLO): Likewise.
+ * m4/iconv.m4 (AM_ICONV_LINK): Likewise.
+ * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN_UTF): Likewise.
+ * m4/intdiv0.m4 (gt_INTDIV0): Likewise.
+ * m4/isnanf.m4 (gl_ISNANF_WORKS): Likewise.
+ * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Likewise.
+ * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): Likewise.
+ * m4/mbrlen.m4 (gl_MBRLEN_INCOMPLETE_STATE, gl_MBRLEN_RETVAL,
+ gl_MBRLEN_NUL_RETVAL): Likewise.
+ * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE, gl_MBRTOWC_SANITYCHECK,
+ gl_MBRTOWC_NULL_ARG, gl_MBRTOWC_RETVAL, gl_MBRTOWC_NUL_RETVAL):
+ Likewise.
+ * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): Likewise.
+ * m4/open.m4 (gl_FUNC_OPEN): Likewise.
+ * m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_LONG_DOUBLE,
+ gl_PRINTF_INFINITE, gl_PRINTF_INFINITE_LONG_DOUBLE,
+ gl_PRINTF_DIRECTIVE_A, gl_PRINTF_DIRECTIVE_F, gl_PRINTF_DIRECTIVE_N,
+ gl_PRINTF_DIRECTIVE_LS, gl_PRINTF_POSITIONS, gl_PRINTF_FLAG_GROUPING,
+ gl_PRINTF_FLAG_LEFTADJUST, gl_PRINTF_FLAG_ZERO, gl_PRINTF_PRECISION,
+ gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_RETVAL_C99,
+ gl_SNPRINTF_DIRECTIVE_N, gl_SNPRINTF_SIZE1, gl_VSNPRINTF_ZEROSIZE_C99):
+ Likewise.
+ * m4/printf-posix.m4 (gt_PRINTF_POSIX): Likewise.
+ * m4/signbit.m4 (gl_SIGNBIT, gl_FLOATTYPE_SIGN_LOCATION): Likewise.
+ * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Likewise.
+ * m4/threadlib.m4 (gl_THREADLIB_BODY): Likewise.
+ * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
+ * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Likewise.
+ * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise.
+ * m4/wcsrtombs.m4 (gl_WCSRTOMBS_TERMINATION): Likewise.
+ * m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
+ * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
+
2010-08-26 Bruno Haible <bruno@clisp.org>
Modernize AC_TRY_LINK invocations.