+2009-02-27 Eric Blake <ebb9@byu.net>
+
+ printf: fix regression in previous patch
+ * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Fix compilation error.
+
2009-02-27 Bruno Haible <bruno@clisp.org>
* lib/inttypes.in.h: Test merely whether _LP64 is defined, not its
See http://lists.gnu.org/archive/html/bug-gnulib/2009-02/msg00190.html.
2009-02-26 Eric Blake <ebb9@byu.net>
- Bruno Haible <bruno@clisp.org>
+ Bruno Haible <bruno@clisp.org>
Work around a *printf bug with %ls on Solaris.
* m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Also test whether, when a
-# printf.m4 serial 32
+# printf.m4 serial 33
dnl Copyright (C) 2003, 2007-2009 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku,
Cygwin 1.5. */
{
- static const wchar_t wstring[] = { 'a', 'b', 'c', 0 };
+ static wchar_t wstring[] = { 'a', 'b', 'c', 0 };
buf[0] = '\0';
if (sprintf (buf, "%ls", wstring) < 0
|| strcmp (buf, "abc") != 0)