[Freeciv-Dev] Re: 3 suspicous code parts
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|