Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] Re: (PR#2374) multi-language client-server patch
Home

[Freeciv-Dev] Re: (PR#2374) multi-language client-server patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: matusik_s@xxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2374) multi-language client-server patch
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 24 Jan 2003 13:05:21 -0800
Reply-to: rt@xxxxxxxxxxxxxx

mateusz stefek via RT wrote:
> Dnia 2003.01.23 20:57 Jason Short via RT napisa³(a):
> 
>>[rfalke - Thu Nov 21 17:00:09 2002]:
>>
>>
>>>+ It works just like printf, but instead of '%' it uses
>>>+ '^' (We don't want to confuse msgfmt).
>>
>>How does msgfmt get confused?  Is there any other way to avoid it
>>besides changing the meta-character?
> 
> 
> I checked it, and msgfmt is fine with %, sorry
> But I'm worried about some autocheckers
> which will see the 'c-format' tag and a bad printf format.

According to Raimar, from the C spec:

"7.26.9 Input/output <stdio.h> 1 Lowercase letters may be added to the 
conversion specifiers and length modifiers in fprintf and fscanf. Other 
characters may be used in extensions."

which indicates we can add uppercase letters as "extensions" and they 
should be respected.

jason




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