modula3 / cm3

Critical Mass Modula-3
http://modula3.github.io/cm3/
Other
139 stars 25 forks source link

caltech-parser: NetBSD does not have statfs, only Posix statvfs. #1110

Closed jaykrell closed 2 years ago

jaykrell commented 2 years ago

Old NetBSD had it. i.e. statvfs added circa NetBSD 2.0, statfs existed in 1.x and was preserved for compatibility.

We probably could call the old one for compatibility, on x86, i.e. to run on 1.0.

Or the other way around, we could probably use statvfs on all systems. Still, it'd be nice to investigate and test the long list of usual suspects: OpenBSD, FreeBSD, Mac, HP-UX, AIX, Irix, OpenVMS, Solaris, OSF/1, Haiku, Cygwin, DJGPP. Or some subset.