Modern MacBinary Tool for MacOS 26

ClassicHasClass

Tinkerer
Aug 30, 2022
367
207
43
www.floodgap.com
This is a great thing to dust off, but a couple portability notes:

- Compilers are trying to get rid of K&R syntax even though it warms my grizzled heart to see it.
- st_birthtime and d_type are not POSIX. For example, 10.4 doesn't have birthtime; AIX 6 doesn't have that or d_type. (Both do compile on my Sequoia M1 MBA.) Unfortunately the alternative can really only use st_ctime which isn't quite accurate. I see you have both in the source code.

However, accounting for differences in timestamps, it looks like it is endian-safe on Power Macs.