Re: stat-time.h vs. -Waggregate-return

2012-09-03 Thread Simon Josefsson
Jim Meyering j...@meyering.net writes: No one replied, so I've updated the two lists from the latest gcc (built from git/svn yesterday) and have tested the result by building coreutils, grep and diffutils using that new set of warnings. Thank you! /Simon

[PATCH] printf: remove stupid restriction on %n

2012-09-03 Thread Andreas Schwab
* m4/printf.m4 (gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N): Remove fmtstring and use a string literal. --- m4/printf.m4 | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/m4/printf.m4 b/m4/printf.m4 index 751e896..4b6c9d8 100644 --- a/m4/printf.m4 +++

Re: [PATCH] printf: remove stupid restriction on %n

2012-09-03 Thread Paul Eggert
This patch seems reasonable, but wouldn't we also need to change vasnprintf.c so that it doesn't use %n in writeable memory? Please see the thread at http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00253.html.