This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, On Tue, Mar 23, Thorsten Kukuk wrote: > 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. Attached is a try from me to fix this. It works fine, but I have now idea how to implement it more nifty without copying the internal_statvfs.c content. 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
Attachment:
glibc-2.3.3-statvfs64.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |