GNU bug report logs - #11470
bug in 8.17 pot file

Previous Next

Package: coreutils;

Reported by: Toomas Soome <Toomas.Soome <at> Elion.ee>

Date: Mon, 14 May 2012 17:52:01 UTC

Severity: normal

Merged with 11471, 11472, 11483, 11494, 11740

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 11470 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Toomas Soome <Toomas.Soome <at> Elion.ee>
Cc: 11470 <at> debbugs.gnu.org
Subject: Re: bug#11470: bug in 8.17 pot file
Date: Mon, 14 May 2012 11:55:46 -0600
[Message part 1 (text/plain, inline)]
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   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 12 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.