Created attachment 12064 [details]
When building mono 126.96.36.199 on 64-bit Solaris 11/x86, I got a link failure
This can be fixed by providing an implementation in mono/io-layer/io.c. While Solaris does have statfs(2), it
only exists for SunOS 4 compatibility, while the proper interface to use is statvfs(2). The attached patch uses
The affected code is a terrible mess of nested #ifdefs; it could urgently use some cleanup based on feature
test macros instead of the current maze of platform macros.