From 129e158bc647d505b311dd6ea039c7a234db0c5b Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Tue, 8 Aug 2006 07:14:38 +0000 Subject: - Update to 0.15 PR: ports/101633 Submitted by: maintainer (Gea-Suan Lin) --- sysutils/fusefs-unionfs/files/patch-unionfs.c | 31 ++++++++++++++++----------- 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'sysutils/fusefs-unionfs/files/patch-unionfs.c') diff --git a/sysutils/fusefs-unionfs/files/patch-unionfs.c b/sysutils/fusefs-unionfs/files/patch-unionfs.c index e37e1aebd5ad..f67481b1a4a2 100644 --- a/sysutils/fusefs-unionfs/files/patch-unionfs.c +++ b/sysutils/fusefs-unionfs/files/patch-unionfs.c @@ -1,16 +1,23 @@ ---- unionfs.c.orig Sun Jul 16 19:02:07 2006 -+++ unionfs.c Sun Jul 16 19:05:45 2006 -@@ -189,9 +189,13 @@ +--- unionfs.c.orig Mon Aug 7 07:20:13 2006 ++++ unionfs.c Tue Aug 8 13:53:17 2006 +@@ -188,12 +188,7 @@ + if (stats_enabled && strcmp(path, STATS_FILENAME) == 0) return 0; - int res; -+#if FUSE_USE_VERSION >= 26 - if (isdatasync) { - res = fdatasync(fi->fh); - } else { -+#else -+ { -+#endif - res = fsync(fi->fh); +- int res; +- if (isdatasync) { +- res = fdatasync(fi->fh); +- } else { +- res = fsync(fi->fh); +- } ++ int res = fsync(fi->fh); + + if (res == -1) return -errno; + +@@ -928,5 +923,5 @@ } + umask(0); +- return fuse_main(args.argc, args.argv, &unionfs_oper, NULL); ++ return fuse_main(args.argc, args.argv, &unionfs_oper); + } -- cgit v1.2.3