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 #42 received at 11470 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Göran Uddeborg <goeran <at> uddeborg.se>
Cc: bug-gnu-gettext <at> gnu.org, 11470 <at> debbugs.gnu.org
Subject: Re: bug#11470: bug in 8.17 pot file
Date: Thu, 17 May 2012 19:22:20 +0100
On 05/17/2012 07:07 PM, Göran Uddeborg wrote:
> A possibly more general fix would be to tell xgettext that fputs'
> argument is not c-format.  That would catch all uses of fputs.
> Something like this:
> 
> --- po/Makevars~        2012-05-10 11:05:30.000000000 +0200
> +++ po/Makevars 2012-05-17 20:06:13.000000000 +0200
> @@ -18,6 +18,7 @@
>   --flag=asprintf:2:c-format\
>   --flag=error:3:c-format\
>   --flag=error_at_line:5:c-format\
> + --flag=fputs:1:no-c-format\
>   --flag=vasnprintf:3:c-format\
>   --flag=vasprintf:2:c-format\
>   --flag=verror:3:c-format\

Why does xgettext even think fputs takes a printf format?
That's the real bug here right?

I know we have to deal with the bug in the meantime
with something like the above, but I've CC'd
the gettext bug list so that we won't have to
worry about it going forward.

cheers,
Pádraig.




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.