GNU bug report logs - #11472
Message src/fmt.c:285 marked as c-formatted string erroneously

Previous Next

Package: coreutils;

Reported by: Petr Pisar <petr.pisar <at> atlas.cz>

Date: Mon, 14 May 2012 21:54:02 UTC

Severity: normal

Merged with 11470, 11471, 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 11472 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: 11472 <at> debbugs.gnu.org
Subject: Re: bug#11472: Message src/fmt.c:285 marked as c-formatted string
	erroneously
Date: Mon, 14 May 2012 16:03:08 -0600
[Message part 1 (text/plain, inline)]
merge 11470 11472
thanks

On 05/14/2012 01:27 PM, Petr Pisar wrote:
> The problem is such string does not pass through msgfmt tool while compiling
> the catalog because the '% ' is not a valid printf sequence.
> 
> Solution is to suppress the auto-detection by adding /*xgettext:no-c-format*/
> before the fputs() line in the source code.

Thanks.  You're the third person to report this today, but the first to
provide a potential patch.  Are you comfortable submitting that fix in
'git format-patch' form with a proper commit message?  If not, we will
probably do it on your behalf in the next 24 hours or so.

-- 
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.