[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11470: bug in 8.17 pot file

From: Eric Blake
Subject: bug#11470: bug in 8.17 pot file
Date: Mon, 14 May 2012 11:55:46 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]