diff options
| author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-07-17 03:50:17 +0000 |
|---|---|---|
| committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-07-17 03:50:17 +0000 |
| commit | 0a5d49084aa119a5fb64d9794dfe10966e88d428 (patch) | |
| tree | 2775a4dcf111f47d181358126e3f2ab2da37f085 /sysutils/fusefs-unionfs/files/patch-unionfs.c | |
| parent | Fix a typo of swedish locale, sv_SV.UTF-8 -> sv_SE.UTF-8. Bump the (diff) | |
Add fusefs-unionfs 0.14, FUSE based implementation of the well-known
unionfs.
PR: ports/100382
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'sysutils/fusefs-unionfs/files/patch-unionfs.c')
| -rw-r--r-- | sysutils/fusefs-unionfs/files/patch-unionfs.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/fusefs-unionfs/files/patch-unionfs.c b/sysutils/fusefs-unionfs/files/patch-unionfs.c new file mode 100644 index 000000000000..e37e1aebd5ad --- /dev/null +++ b/sysutils/fusefs-unionfs/files/patch-unionfs.c @@ -0,0 +1,16 @@ +--- unionfs.c.orig Sun Jul 16 19:02:07 2006 ++++ unionfs.c Sun Jul 16 19:05:45 2006 +@@ -189,9 +189,13 @@ + 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); + } + |
