Subject: Re: bug#11470: bug in 8.17 pot file

From: Eric Blake <[email-masked]>
Date: Mon, 14 May 2012 11:55:46 -0600

On 05/14/2012 11:22 AM, Toomas Soome wrote:
> 
> 
> hi!
> 
> the entry:
> 
> #: src/fmt.c:285
> #, c-format
> msgid ""
> "  -t, --tagged-paragraph    indentation of first line different from second\n"
> "  -u, --uniform-spacing     one space between words, two after sentences\n"
> "  -w, --width=WIDTH         maximum line width (default of 75 columns)\n"
> "  -g, --goal=WIDTH          goal width (default of 93% of width)\n"
> 
> has unescaped %. the sequence "% o" will be interpreted by printf and it would expect an argument... and obviously the msgfmt will choke as well.

Thanks for the report.  However, looking at format.c, we are printing
this string via fputs(), and not fprintf(), so it is _not_ an unescaped
%.  Apparently, the '#, c-format' marking in the .pot file is the real
bug, and we should figure out why xgettext put it there.

-- 
Eric Blake   [email-masked]    +1-919-301-3266
Libvirt virtualization library http://libvirt.org