diff options
| author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-08 07:14:38 +0000 |
|---|---|---|
| committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-08 07:14:38 +0000 |
| commit | 129e158bc647d505b311dd6ea039c7a234db0c5b (patch) | |
| tree | 052438d3f4ff7a3859a12cd035d03c5ceb13486f /sysutils/fusefs-unionfs/files/patch-unionfs.c | |
| parent | - x11-toolkits/libbonoboui is optional, reflect it in LIB_DEPENDS (diff) | |
- Update to 0.15
PR: ports/101633
Submitted by: maintainer (Gea-Suan Lin)
Diffstat (limited to 'sysutils/fusefs-unionfs/files/patch-unionfs.c')
| -rw-r--r-- | sysutils/fusefs-unionfs/files/patch-unionfs.c | 31 |
1 files changed, 19 insertions, 12 deletions
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); + } |
