Okay, nevermind, can't do that that way at all...
authorDerrik Pates <demon@now.ai>
Wed, 10 Aug 2011 02:24:43 +0000 (20:24 -0600)
committerDerrik Pates <demon@now.ai>
Wed, 10 Aug 2011 02:24:43 +0000 (20:24 -0600)
Fuse.pm

diff --git a/Fuse.pm b/Fuse.pm
index 0bd25cc..d05104b 100755 (executable)
--- a/Fuse.pm
+++ b/Fuse.pm
@@ -20,7 +20,7 @@ our @ISA = qw(Exporter DynaLoader);
 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
 # will save memory.
 our %EXPORT_TAGS = (
-                   'all' => [ qw(XATTR_CREATE XATTR_REPLACE fuse_get_context fuse_version FUSE_IOCTL_COMPAT FUSE_IOCTL_UNRESTRICTED FUSE_IOCTL_RETRY FUSE_IOCTL_MAX_IOV) ],
+                   'all' => [ qw(XATTR_CREATE XATTR_REPLACE fuse_get_context fuse_version FUSE_IOCTL_COMPAT FUSE_IOCTL_UNRESTRICTED FUSE_IOCTL_RETRY FUSE_IOCTL_MAX_IOV notify_poll pollhandle_destroy) ],
                    'xattr' => [ qw(XATTR_CREATE XATTR_REPLACE) ],
                    'ioctl' => [ qw(FUSE_IOCTL_COMPAT FUSE_IOCTL_UNRESTRICTED FUSE_IOCTL_RETRY FUSE_IOCTL_MAX_IOV) ],
                    );
@@ -64,10 +64,6 @@ sub AUTOLOAD {
 
 bootstrap Fuse $VERSION;
 
-if (fuse_version() >= 2.8) {
-       push(@{$EXPORT_TAGS{'all'}}, qw(notify_poll pollhandle_destroy));
-}
-
 use constant FUSE_IOCTL_COMPAT         => (1 << 0);
 use constant FUSE_IOCTL_UNRESTRICTED   => (1 << 1);
 use constant FUSE_IOCTL_RETRY          => (1 << 2);