statvfs64 does not work as expected
Thorsten Kukuk
kukuk@suse.de
Tue Mar 23 19:26:00 GMT 2004
Hi,
if you have very large filesystems, compiles your program with large
file support and uses statvfs, statvfs will fail on 32bit systems.
The reason is, that statvfs64 calls statvfs, which calls statfs,
which will return with a EOVERFLOW error.
What would be the right way to fix this? I think there should not
be a statfs call from a statvfs64 function, but statfs64.
Thanks,
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE Linux AG Maxfeldstr. 5 D-90409 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
More information about the Libc-alpha
mailing list