projects
/
perl-fuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c820168
)
Use FUSE_IOCTL_COMPAT from the Fuse module.
author
Derrik Pates
<demon@now.ai>
Wed, 10 Aug 2011 02:10:39 +0000
(20:10 -0600)
committer
Derrik Pates
<demon@now.ai>
Wed, 10 Aug 2011 02:10:39 +0000
(20:10 -0600)
examples/fioc.pl
patch
|
blob
|
history
diff --git
a/examples/fioc.pl
b/examples/fioc.pl
index
3a31d9c
..
35115d5
100755
(executable)
--- a/
examples/fioc.pl
+++ b/
examples/fioc.pl
@@
-16,7
+16,7
@@
use threads::shared;
use Carp;
local $SIG{'__WARN__'} = \&Carp::cluck;
-use Fuse;
+use Fuse
qw(:all)
;
use Fcntl qw(:mode);
use POSIX;
@@
-33,7
+33,6
@@
our %sizeof = ('size_t' => length(pack('L!')));
sub FIOC_GET_SIZE { _IOR(ord 'E', 0, 'size_t'); }
sub FIOC_SET_SIZE { _IOW(ord 'E', 1, 'size_t'); }
sub TCGETS { 0x5401; }
-use constant FUSE_IOCTL_COMPAT => 0x1;
sub fioc_resize {
my ($size) = @_;