Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] Re: 3 suspicous code parts
Home

[Freeciv-Dev] Re: 3 suspicous code parts

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Todd Goodman <tsg@xxxxxxxxxxxxx>
Cc: Dirk Stoecker <stoecker@xxxxxxxxxxxxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: 3 suspicous code parts
From: Big Gaute <gs234@xxxxxxxxxxxxxxxx>
Date: Mon, 7 Aug 2000 16:17:28 +0100 (BST)

On Mon, 7 Aug 2000, Todd Goodman wrote:

>* Gaute (B) Strokkenes <gs234@xxxxxxxxx> [000806 15:25]:
>>
>> The glibc manual states that %x and %X are exactly equivalent, and
>> makes no particular mention of %X being a GNU extension.  If %x is
>> more portable there would be little loss in using it instead, off
>> course.
>
>They aren't equivalent on all the systems I've used.  %X displays the
>hex character A-F as uppercase and %x displays them as lowercase.

We were discussing scanf, not printf and friends...

-- 
Big Gaute (not to be confused with LG)
"There was a time when a guy who died at forty was revered as the toughest
and most doggedly ancient son of a bitch in Cow Ass Clearing, Shitoleshire,
Engalond, back in the year dot." - Spider Jerusalem, Transmetropolitan #25




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