Richard Dawe <rich(at)phekda(dot)gotadsl(dot)co(dot)uk>
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 20 Mar 2005 00:37:31 +0000 (00:37 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 20 Mar 2005 00:37:31 +0000 (00:37 +0000)
commitf22646ee1a622b508e671121213c5209b39b3b1d
tree915df3c311020507ce196643c5dcbba7c425ca34
parent377665d81c5d789622229a76d7f4af984f5d14fb
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.

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl/trunk@11 6e4b0b00-1209-0410-87b2-b275959b5705
test/statfs.t