X-Git-Url: http://git.rot13.org/?p=perl-fuse.git;a=blobdiff_plain;f=Fuse.pm;h=9a68207060b3507d7a13f6e5481328ca3956e525;hp=49f358868f7a519a4f5ae1266382987a41cbaa2e;hb=4de2d39279b7cfcab70112b0986ee554a0c859ee;hpb=b703b4d2176bec5f6a14b1574629cbf5be15268b diff --git a/Fuse.pm b/Fuse.pm index 49f3588..9a68207 100755 --- a/Fuse.pm +++ b/Fuse.pm @@ -77,16 +77,17 @@ sub main { 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 -# # fuse_operations where a flag bit is declared. we don't -# # need to concern ourselves with it, and it appears any -# # arch with a 64 bit pointer will align everything to -# # 8 bytes, making the question of pointer alignment for -# # the last 2 wrapper functions no big thing. + if ($fuse_version >= 2.8) { + # junk doesn't contain a function pointer, and hopefully + # never will; it's a "dead" zone in the struct + # fuse_operations where a flag bit is declared. we don't + # need to concern ourselves with it, and it appears any + # arch with a 64 bit pointer will align everything to + # 8 bytes, making the question of pointer alignment for + # the last 2 wrapper functions no big thing. + push(@names, qw/junk ioctl/); # push(@names, qw/junk ioctl poll/); -# } + } my @subs = map {undef} @names; my $tmp = 0; my %mapping = map { $_ => $tmp++ } @names;