64-bit support, 2.6 binding
authorDerrik Pates <demon@now.ai>
Thu, 9 Dec 2010 21:26:18 +0000 (22:26 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 9 Dec 2010 21:26:18 +0000 (22:26 +0100)
commit6fd3b1c8bbfdf8b1ee8e9613b9121f5205660633
tree9646ffdccb39b27977ca4654fedf71a2337e0609
parent99eb1339cd8e5dc4ca8e6539f50d4291bda40a9b
64-bit support, 2.6 binding

I am (somewhat indirectly, now) using the Fuse package, which you maintain,
as the basis for a set of Perl modules I've written to mount AFP filesystems
via Fuse. I actually have made a few changes to the copy I run, to address
the following issues:

- On NetBSD, the Fuse package won't build out of the box against NetBSD's
ReFUSE implementation; I have a few changes that make it work (all except
extended attributes, which apparently PUFFS/ReFUSE doesn't yet handle).
- On FreeBSD and NetBSD, the version 2.6 binding profile works better, so
I've altered the code slightly to use it; it works on Linux and OS X as
well.
- On most 32-bit Linux distributions (and NetBSD/FreeBSD), Perl is not built
with 64-bit integer support, thus breaking access to large files (> 2 ** 31
- 1 bytes long). I've added a sort-of-hackish workaround for Perl builds
without $Config{'use64bitint'} to get large files handled sanely.
- Added a few extra option names that aren't included in the @validOpts list
by default.

If you're interested in my code, check out
http://svn.now.ai/listing.php?repname=afp-perl to see the repository, or
http://svn.now.ai/svn/afp-perl/ for SVN checkout access.

--
Derrik Pates
demon@now.ai
Fuse.xs
Makefile.PL