freebsd-ports/sysutils/fusefs-unionfs/files/patch-unionfs.c
Cheng-Lung Sung 3b602210ac - update version to 0.17
PR:		ports/109818
Submitted by:	"Marcelo Araujo" <araujo_AT_bsdmail dot org>
2007-03-06 04:01:20 +00:00

14 lines
274 B
C

--- unionfs.c.orig Tue Mar 6 10:40:41 2007
+++ unionfs.c Tue Mar 6 10:46:09 2007
@@ -192,11 +192,7 @@
int res;
if (isdatasync) {
-#ifdef _POSIX_SYNCHRONIZED_IO
- res = fdatasync(fi->fh);
-#else
res = fsync(fi->fh);
-#endif
} else {
res = fsync(fi->fh);
}