diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-03-06 04:01:20 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-03-06 04:01:20 +0000 |
commit | 3b602210acda290149ab29547b0ce76bc893b324 (patch) | |
tree | 907981fc8d0217f87951d3765e601b8d5afec0ae /sysutils/fusefs-unionfs/files/patch-unionfs.c | |
parent | o Improve wrapper.sh script: remove jars after we have used them (diff) |
- update version to 0.17
PR: ports/109818
Submitted by: "Marcelo Araujo" <araujo_AT_bsdmail dot org>
Notes
Notes:
svn path=/head/; revision=186627
Diffstat (limited to 'sysutils/fusefs-unionfs/files/patch-unionfs.c')
-rw-r--r-- | sysutils/fusefs-unionfs/files/patch-unionfs.c | 26 |
1 files changed, 12 insertions, 14 deletions
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); + } |