Ensure AC_C_RESTRICT is invoked.
[gnulib.git] / ChangeLog
index 08e18f5..cb62048 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,131 @@
+2007-05-13  Bruno Haible  <bruno@clisp.org>
+
+       * stpcpy.m4 (gl_FUNC_STPCPY): Require AC_C_RESTRICT.
+       * stpncpy.m4 (gl_FUNC_STPNCPY): Likewise.
+       * strsep.m4 (gl_FUNC_STRSEP): Likewise.
+       * strtok_r.m4 (gl_FUNC_STRTOK_R): Likewise.
+       (gl_PREREQ_STRTOK_R): Don't require it here.
+
+2007-05-13  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdlib_.h (mkdtemp, mkstemp): Comment out argument name. Needed
+       when used in C++ mode.
+
+2007-05-12  Bruno Haible  <bruno@clisp.org>
+
+       * lib/linebuffer.h: Tweak doc.
+       * lib/linebuffer.c: Likewise.
+
+2007-05-12  James Youngman  <jay@gnu.org>
+
+       * lib/linebuffer.c (readlinebuffer_delim): New function,
+       like readlinebuffer, but use a caller-specified delimiter.
+       (readlinebuffer): Just call readlinebuffer_delim with '\n'
+       as the delimiter.
+       * lib/linebuffer.h (readlinebuffer_delim): Declare it.
+
+2007-05-12  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * m4/openat.m4 (gl_FUNC_OPENAT): Do not require openat-die.
+       * modules/openat (Files): Remove openat-die.c.
+       (Depends-on): Add openat-die.
+       * modules/openat-die: New module.
+
+2007-05-06  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_FLAG_GROUPING, gl_VSNPRINTF_ZEROSIZE_C99):
+       Update with info about Cygwin.
+       * doc/functions/fprintf.texi: Update.
+       * doc/functions/printf.texi: Update.
+       * doc/functions/snprintf.texi: Update.
+       * doc/functions/sprintf.texi: Update.
+       * doc/functions/vfprintf.texi: Update.
+       * doc/functions/vprintf.texi: Update.
+       * doc/functions/vsnprintf.texi: Update.
+       * doc/functions/vsprintf.texi: Update.
+       Reported by Eric Blake.
+
+2007-05-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Perform the
+       padding ourselves for the floating-point directives.
+       * m4/printf.m4 (gl_PRINTF_FLAG_ZERO): New macro.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_FLAG_ZERO): New macro.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke
+       gl_PRINTF_FLAG_ZERO and test its result. Invoke
+       gl_PREREQ_VASNPRINTF_FLAG_ZERO.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Likewise.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise.
+       * tests/test-snprintf-posix.h (test_function): Also check the width
+       and some flags in the %f directive.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+       * tests/test-vasnprintf-posix.c (test_function): Likewise.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * doc/functions/fprintf.texi: Update.
+       * doc/functions/printf.texi: Update.
+       * doc/functions/snprintf.texi: Update.
+       * doc/functions/sprintf.texi: Update.
+       * doc/functions/vfprintf.texi: Update.
+       * doc/functions/vprintf.texi: Update.
+       * doc/functions/vsnprintf.texi: Update.
+       * doc/functions/vsprintf.texi: Update.
+
+2007-05-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_GROUPING]: Don't
+       pass the ' flag character to sprintf or snprintf.
+       * m4/printf.m4 (gl_PRINTF_FLAG_GROUPING): New macro.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_FLAG_GROUPING): New macro.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke
+       gl_PRINTF_FLAG_GROUPING and test its result. Invoke
+       gl_PREREQ_VASNPRINTF_FLAG_GROUPING.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Likewise.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise.
+       * tests/test-snprintf-posix.h (test_function): Also check the grouping
+       flag.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+       * tests/test-vasnprintf-posix.c (test_function): Likewise.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * doc/functions/fprintf.texi: Update.
+       * doc/functions/printf.texi: Update.
+       * doc/functions/snprintf.texi: Update.
+       * doc/functions/sprintf.texi: Update.
+       * doc/functions/vfprintf.texi: Update.
+       * doc/functions/vprintf.texi: Update.
+       * doc/functions/vsnprintf.texi: Update.
+       * doc/functions/vsprintf.texi: Update.
+
+2007-05-01  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-argp-2.sh (func_compare): Drop .exe suffix.
+
+2007-05-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use better
+       comment for D_INO_IN_DIRENT.  Problem reported by James Youngman.
+
+2007-05-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Test whether
+       readdir returns garbage in d_ino.  Problem reported by Kaz Sasayama in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-05/msg00021.html>.
+
+2007-05-02  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * lib/argp-help.c (struct hol_entry): New member `ord'.
+       (HOL_ENTRY_PTRCMP): Use ord for comparison
+       (hol_sort): Initialize ord.
+
 2007-05-01  Bruno Haible  <bruno@clisp.org>
 
        * doc/functions/_Exit_C99.texi: Renamed from doc/functions/_Exit.texi.