[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH]

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-07-12 23:06:14 CEST

On Mon, 12 Jul 2004, Justin Erenkrantz wrote:

> --On Monday, July 12, 2004 4:07 PM +0200 "Peter N. Lundblad"
> <peter@famlundblad.se> wrote:
>
> > are in msgfmt -c being correct. On the other hand, requiring restart of
> > the soak month just because of a bug in a .po formatting string would be
> > very paranoid. But if people don't like this, I can drop it. The most
>
> I don't understand how you think a 'bug in a .po formatting string' would
> differ than a 'bug in a formatting string.' Aren't they identical? Or,
> are you only talking about the string in the .po not the one in the .c
> files? My impression was that you are talking about tweaking the format
> strings in the .c files that the .po keys off. -- justin
>
I am talking about translations, i.e. msgstr strings. The msgids are dealt
with elsewhere.

Ofcourse, a bug in a formatting string is a bug is a bug is a bug. The
difference is that if you change a formatting string in a C file (or the
varargs arguments in the function call), you can introduce bugs, possibly
on other platforms that you don't detect. With translations, msgfmt can
detect formatting string mismatches. So, it shouldn't be easy to introduce
bugs in .po files if you validate them.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 12 22:53:32 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.