diff options
author | 2004-07-14 06:24:50 +0000 | |
---|---|---|
committer | 2004-07-14 06:24:50 +0000 | |
commit | ffa48fb79d6544e4299c76df8f689f8962fab8fe (patch) | |
tree | 4432571bb4a48f8fb1671a1139d97af0ec9e2d25 | |
parent | ad83d07f62a79e7725d31b41d3f0316526a83634 (diff) |
added patch from Brad Fitzpatrick
-rw-r--r-- | perl/Fuse.xs | 14 | ||||
-rw-r--r-- | perl/Makefile.PL | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/perl/Fuse.xs b/perl/Fuse.xs index 0a460b9..fa75e5c 100644 --- a/perl/Fuse.xs +++ b/perl/Fuse.xs @@ -476,7 +476,7 @@ int _PLfuse_write (const char *file, const char *buf, size_t buflen, off_t off) return rv; } -int _PLfuse_statfs (struct fuse_statfs *st) { +int _PLfuse_statfs (struct statfs *st) { int rv; char *rvstr; dSP; @@ -488,12 +488,12 @@ int _PLfuse_statfs (struct fuse_statfs *st) { rv = call_sv(_PLfuse_callbacks[17],G_ARRAY); SPAGAIN; if(rv > 5) { - st->block_size = POPi; - st->blocks_free = POPi; - st->blocks = POPi; - st->files_free = POPi; - st->files = POPi; - st->namelen = POPi; + st->f_bsize = POPi; + st->f_bfree = POPi; + st->f_blocks = POPi; + st->f_ffree = POPi; + st->f_files = POPi; + st->f_namelen = POPi; if(rv > 6) rv = POPi; else diff --git a/perl/Makefile.PL b/perl/Makefile.PL index d495683..6e66f46 100644 --- a/perl/Makefile.PL +++ b/perl/Makefile.PL @@ -13,5 +13,5 @@ WriteMakefile( # Insert -I. if you add *.h files later: 'INC' => '-I../include', # e.g., '-I/usr/include/other' # Un-comment this if you add C files to link with later: - 'OBJECT' => 'Fuse.o ../lib/libfuse.a -lpthread', # link all the C files too + 'OBJECT' => 'Fuse.o ../lib/.libs/libfuse.a -lpthread', # link all the C files too ); |