cebix / macemu

Basilisk II and SheepShaver Macintosh emulators
1.4k stars 291 forks source link

fix for extfs on 64-bit macOS/iOS #145

Closed zydeco closed 6 years ago

zydeco commented 6 years ago

crtimebuf doesn't have the correct type or alignment for 64-bit platforms (see examples from the getattrlist man page). This causes the timespec structure to be read incorrectly, and crashes when accessing extfs because localtime returns NULL in TimeToMacTime.