Revision
11 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Mar 20 00:37:31 2005 UTC
(18 years, 2 months ago)
by
dpavlin
File length: 659 byte(s)
Diff to
previous 4
Richard Dawe <rich(at)phekda(dot)gotadsl(dot)co(dot)uk>
Please find attached a patch that makes statfs.t pass on the x86_64
architecture. With Linux on x86_64 statfs returns 64-bit fields by default, so
the unpack format returns junk.
I also found that I would get a glibc warning about memory corruption. This is
because the statfs structure returned by the kernel includes some padding for
future expansion. So the statfs buffer also needed to be made bigger.