FIX: DARWIN: aarch64: tstatfs.fstypename length error (#39873)
FIX issue #39873 (closed) (DARWIN: aarch64: tstatfs.fstypename length error)
Summary
- record tstatfs in ptypes.inc error (darwin and aarch64)
- fstypename in tstatfs should be MFSTYPENAMELEN(16 bytes), but MFSNAMELEN(15 bytes) used
- related functions such as getfsstat() broken
- FYI: https://opensource.apple.com/source/xnu/xnu-6153.41.3/bsd/sys/mount.h.auto.html
System Information
- Operating System: MacOS 12.2.1
- CPU / Bitness: M1 / aarch64
- FPC Version: FPC 3.2.2