We are assuming big endian in asdecode, which isn't OK for Intel-based macs. A patch was provided by Apple to fix the problem.
Created attachment 185752 [details] [diff] [review] Apple fix v1.0
Attachment #185752 - Flags: superreview?(sfraser_bugs) → superreview+
Attachment #185752 - Flags: approval1.8b3? → approval1.8b3+
Checked in to trunk. Checking in asdecode.cpp; /cvsroot/mozilla/config/asdecode.cpp,v <-- asdecode.cpp new revision: 3.5; previous revision: 3.4
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
Comment on attachment 185752 [details] [diff] [review] Apple fix v1.0 >+ entry *swap = &entries[i]; >+ swap->id = OSSwapBigToHostInt32(swap->id); >+ swap->offset = OSSwapBigToHostInt32(swap->offset); >+ swap->length = OSSwapBigToHostInt32(swap->length); >+ > entry& entry = entries[i]; No need for the |swap| variable; you can just use the existing |entry| variable.
You need to log in before you can comment on or make changes to this bug.