Comment 15 for bug 145278

Revision history for this message
Herbert V. Riedel (hvr) wrote :

well, the bug became too annoying to me, and I finally got around to hunt it down to a simple integer-64/32bit-truncation bug...

sprintf was using "%lu" (on powerpc sizeof(long)==4) on a 64bit integer, which on little endian has the simple semantic of taking the lower 32bit word, but on big-endian powerpc it takes the upper 32bits of the 64bit datum, which is going to result in a 0 length for the usual print requests...

...can we get this fix in gutsy plz? :)