Merge branch 'rt-57517-file-handles'
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 16 May 2010 16:45:31 +0000 (18:45 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 16 May 2010 16:45:31 +0000 (18:45 +0200)
Fuse.pm
Makefile.PL
README

diff --git a/Fuse.pm b/Fuse.pm
index f9f6e73..3ab76a0 100755 (executable)
--- a/Fuse.pm
+++ b/Fuse.pm
@@ -401,7 +401,7 @@ Called in an attempt to fetch a portion of the file.
 
 Arguments:  Pathname, scalar buffer, numeric offset, file handle.  You can use length($buffer) to
 find the buffersize.
-Returns an errno.
+Returns length($buffer) if successful (number of bytes written).
 
 Called in an attempt to write (or overwrite) a portion of the file.  Be prepared because $buffer could contain random binary data with NULs and all sorts of other wonderful stuff.
 
index 44bb8ae..61a8420 100644 (file)
@@ -39,6 +39,14 @@ WriteMakefile(
        ($] >= 5.005 ?  ## Add these new keywords supported since 5.005
                (ABSTRACT_FROM  => 'Fuse.pm', # retrieve abstract from module
                AUTHOR                  => 'Mark Glines <mark@glines.org>') : ()),
+               ($ExtUtils::MakeMaker::VERSION < 6.46 ? () : (
+                       META_MERGE => {
+                               resources => {
+                               bugtracker => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Fuse',
+                               repository => 'http://github.com/dpavlin/perl-fuse'
+                       }
+               })
+       ),
        'LIBS'                  => [''], # e.g., '-lm'
        'DEFINE'                => $def, # e.g., '-DHAVE_SOMETHING'
        # Insert -I. if you add *.h files later:
diff --git a/README b/README
index 1fc07ac..0987f39 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-Fuse version 0.07
-=================
+Fuse perl bindings
+==================
 
 Fuse is combination of Linux kernel module and user space library which
 enables you to write user-space filesystems. This module enables you to