From 3b602210acda290149ab29547b0ce76bc893b324 Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Tue, 6 Mar 2007 04:01:20 +0000 Subject: - update version to 0.17 PR: ports/109818 Submitted by: "Marcelo Araujo" --- sysutils/fusefs-unionfs/files/patch-unionfs.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 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 884a3448e366..52938c5dbe0d 100644 --- a/sysutils/fusefs-unionfs/files/patch-unionfs.c +++ b/sysutils/fusefs-unionfs/files/patch-unionfs.c @@ -1,16 +1,14 @@ ---- unionfs.c.orig Mon Aug 7 07:20:13 2006 -+++ unionfs.c Tue Aug 8 13:53:17 2006 -@@ -188,12 +188,7 @@ +--- unionfs.c.orig Tue Mar 6 10:40:41 2007 ++++ unionfs.c Tue Mar 6 10:46:09 2007 +@@ -192,11 +192,7 @@ - if (stats_enabled && strcmp(path, STATS_FILENAME) == 0) return 0; - -- int res; -- if (isdatasync) { + int res; + if (isdatasync) { +-#ifdef _POSIX_SYNCHRONIZED_IO - res = fdatasync(fi->fh); -- } else { -- res = fsync(fi->fh); -- } -+ int res = fsync(fi->fh); - - if (res == -1) return -errno; - +-#else + res = fsync(fi->fh); +-#endif + } else { + res = fsync(fi->fh); + } -- cgit v1.2.3