freebsd-ports/sysutils/fusefs-ntfs/files/patch-src__lowntfs-3g.c
Alejandro Pulver df595d6f85 - Update to version 2010.10.2.
- Do not install /usr/sbin/mount_ntfs-3g symlink (added note in
  README.FreeBSD) because it doesn't work in 7.x or later.
- Drop maintainership (fuse4bsd is unmaintained, and there are problems that
  will affect this port until an alternative appears).
2010-10-11 01:32:01 +00:00

17 lines
354 B
C

--- src/lowntfs-3g.c.orig 2010-10-02 08:22:46.000000000 -0300
+++ src/lowntfs-3g.c 2010-10-10 22:04:14.000000000 -0300
@@ -2541,10 +2541,14 @@
if (ntfs_inode_close(ni))
set_fuse_error(&ret);
done :
+#ifndef __FreeBSD__
if (ret < 0)
fuse_reply_err(req, -ret);
else
fuse_reply_bmap(req, lidx);
+#else
+ ;
+#endif
}
#ifdef HAVE_SETXATTR