X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Fuse.pm;h=0985ae06b2f5e50f20bc5beeccec14b934d3cbc0;hb=fe703a91373cdd5e0cb11c339c4ed0f7cc4177da;hp=f1061ead64bdf4c0bbac734b8b1a4584c141015f;hpb=e6ca93074661d3d28f01d3cc96d00a252952803e;p=perl-fuse.git diff --git a/Fuse.pm b/Fuse.pm index f1061ea..0985ae0 100755 --- a/Fuse.pm +++ b/Fuse.pm @@ -28,7 +28,7 @@ our %EXPORT_TAGS = ( our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); our @EXPORT = (); -our $VERSION = '0.14'; +our $VERSION = '0.15'; sub AUTOLOAD { # This AUTOLOAD is used to 'autoload' constants from the constant() @@ -72,17 +72,10 @@ use constant FUSE_IOCTL_MAX_IOV => 256; sub main { my @names = qw(getattr readlink getdir mknod mkdir unlink rmdir symlink rename link chmod chown truncate utime open read write statfs - flush release fsync setxattr getxattr listxattr removexattr); + flush release fsync setxattr getxattr listxattr removexattr + opendir readdir releasedir fsyncdir init destroy access + create ftruncate fgetattr lock utimens bmap); my $fuse_version = fuse_version(); - if ($fuse_version >= 2.3) { - push(@names, qw/opendir readdir releasedir fsyncdir init destroy/); - } - if ($fuse_version >= 2.5) { - push(@names, qw/access create ftruncate fgetattr/); - } - if ($fuse_version >= 2.6) { - push(@names, qw/lock utimens bmap/); - } if ($fuse_version >= 2.8) { # junk doesn't contain a function pointer, and hopefully # never will; it's a "dead" zone in the struct