bug-coreutils
[Top][All Lists]
Advanced

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

bug#11470: bug in 8.17 pot file


From: Pádraig Brady
Subject: bug#11470: bug in 8.17 pot file
Date: Thu, 17 May 2012 19:22:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

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.





reply via email to

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