]> git.sven.stormbind.net Git - sven/fuse-exfat.git/blobdiff - debian/patches/fix-fuse-read-write-return-r336.patch
Refresh patches to -p1 level and add README.source
[sven/fuse-exfat.git] / debian / patches / fix-fuse-read-write-return-r336.patch
index 045933eb71aba278ba9b21793de6b1bba32ed716..eeef1ee7bddfee0b9ee00b5156a44cb2e179540d 100644 (file)
@@ -1,10 +1,10 @@
 Fixed "Operation not permitted" error on reading an empty file: FUSE read/write
 ops should return a number of bytes actually read/written or -errno on error.
 Picked from upstream svn r336.
-Index: fuse/main.c
+Index: fuse-exfat/fuse/main.c
 ===================================================================
---- fuse/main.c.orig   2013-01-25 22:09:08.293124286 +0100
-+++ fuse/main.c        2013-01-25 22:10:19.745121679 +0100
+--- fuse-exfat.orig/fuse/main.c        2013-01-25 22:26:15.309086812 +0100
++++ fuse-exfat/fuse/main.c     2013-01-25 22:26:20.093086638 +0100
 @@ -155,19 +155,25 @@
  static int fuse_exfat_read(const char* path, char* buffer, size_t size,
                off_t offset, struct fuse_file_info* fi)
@@ -37,10 +37,10 @@ Index: fuse/main.c
  }
  
  static int fuse_exfat_unlink(const char* path)
-Index: libexfat/io.c
+Index: fuse-exfat/libexfat/io.c
 ===================================================================
---- libexfat/io.c.orig 2013-01-25 22:09:08.293124286 +0100
-+++ libexfat/io.c      2013-01-25 22:10:19.745121679 +0100
+--- fuse-exfat.orig/libexfat/io.c      2013-01-25 22:26:15.309086812 +0100
++++ fuse-exfat/libexfat/io.c   2013-01-25 22:26:20.093086638 +0100
 @@ -341,7 +341,7 @@
        }
        if (!ef->ro && !ef->noatime)