> On OSX 10.7 the relevant fields of the statvfs structure > are defined to be fsblkcnt_t, or only 4 bytes long.
Thanks for the bug report. Could you please give more details about the problem? What is the size of your file system? What are the types (e.g., are the types signed? and what are their sizes?) and values of f_frsize, f_bsize, f_blocks, and all the other members of a struct statvfs? The patch you sent essentially says "statvfs is broken so badly on MacOS X 10.7 that nobody should ever use it". Is that really right? It sounds extreme.
