fortran/5558: Error in POT file

Zack Weinberg zack@codesourcery.com
Thu Jan 31 17:06:00 GMT 2002


The following reply was made to PR fortran/5558; it has been noted by GNATS.

From: Zack Weinberg <zack@codesourcery.com>
To: "Martin v. Loewis" <martin@v.loewis.de>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: fortran/5558: Error in POT file
Date: Thu, 31 Jan 2002 16:59:44 -0800

 On Fri, Feb 01, 2002 at 01:30:34AM +0100, Martin v. Loewis wrote:
 > Zack Weinberg <zack@codesourcery.com> writes:
 > 
 > > You are mistaken.  Those %0's most definitely are substitution
 > > escapes.  They are not the same as printf substitutions, but they
 > > are substitutions nonetheless.
 > 
 > I did not say they aren't substitution escapes, I said they are not
 > meant for printf. Being substitution escapes is irrelevant for
 > gettext.
 
 However, they need to not get taken out just as much as printf escapes
 do.
 
 > > Having said that, I can see the problem - it thinks the escape is 
 > > "%0 o" instead of just "%0".  Your fix is to remove the "#, c-format"
 > > annotation.
 > 
 > Please consider integrating my proposed changes.
 
 I tried them.  They don't do anything at all.  The generated .pot file
 is identical with and without.
 
 > > I am attempting to get a more flexible mechanism for format-string
 > > handling put into gettext, but Bruno so far refuses to even consider
 > > it.
 > 
 > Please don't use the gcc catalog as a weapon in your fight with
 > Bruno. 
 
 ? Where did I say I was having a fight with Bruno?
 
 > (the robot will reject submissions if translators have removed
 > c-format markers; this was necessary to avoid security risks
 > resulting from buffer overruns).
 
 I was not aware that this was the case - and the Turkish translator
 had a similar problem, reported that removing the c-format marker
 solved it, and has had no trouble uploading.
 
 zw



More information about the Gcc-prs mailing list