aboutsummaryrefslogtreecommitdiff
path: root/system/afuse/avoid-early-exit-in-afuse_releasedir.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-02-13 20:26:43 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:54:28 -0600
commit628c5dcfcf3ca588755b0f9f36b527daee41eed7 (patch)
treeb01ffa59cbfd7f26f636d824666aa347f64c7196 /system/afuse/avoid-early-exit-in-afuse_releasedir.patch
parenta13ce4250780a64f65f54a7b6947c1083b8d9c3c (diff)
system/afuse: Updated for version 0.4, fixed typo.
CFLAG -> CFLAGS Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/afuse/avoid-early-exit-in-afuse_releasedir.patch')
-rw-r--r--system/afuse/avoid-early-exit-in-afuse_releasedir.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/system/afuse/avoid-early-exit-in-afuse_releasedir.patch b/system/afuse/avoid-early-exit-in-afuse_releasedir.patch
new file mode 100644
index 000000000000..2af3755da6cf
--- /dev/null
+++ b/system/afuse/avoid-early-exit-in-afuse_releasedir.patch
@@ -0,0 +1,25 @@
+From 8176cc23549f60ddd326badf61f7e268ea1af897 Mon Sep 17 00:00:00 2001
+From: Pierre Carrier <pierre@gcarrier.fr>
+Date: Wed, 13 Feb 2013 03:43:50 +0100
+Subject: [PATCH] src/afuse.c: avoid early exit in afuse_releasedir
+
+Should solve #1.
+---
+ src/afuse.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/afuse.c b/src/afuse.c
+index 37825ac..9c93fc6 100644
+--- a/src/afuse.c
++++ b/src/afuse.c
+@@ -931,6 +931,7 @@ static int afuse_releasedir(const char *path, struct fuse_file_info *fi)
+ if (dp)
+ closedir(dp);
+ retval = 0;
++ break;
+
+ default:
+ DEFAULT_CASE_INVALID_ENUM;
+--
+1.8.1.3
+