Ticket #53079: cctools-895-ofile.patch
File cctools-895-ofile.patch, 454 bytes (added by josephsacco, 8 years ago) |
---|
-
libstuff/ofile.
old new 3423 3423 if(size - offset > sizeof(uint32_t)){ 3424 3424 memcpy(&magic, addr + offset, sizeof(uint32_t)); 3425 3425 #ifdef __BIG_ENDIAN__ 3426 if(magic == FAT_MAGIC || (magic == FAT_MAGIC_64) 3426 if(magic == FAT_MAGIC || (magic == FAT_MAGIC_64)) 3427 3427 #endif /* __BIG_ENDIAN__ */ 3428 3428 #ifdef __LITTLE_ENDIAN__ 3429 3429 if(magic == SWAP_INT(FAT_MAGIC) ||