
Trivial build error in 2010.10.2AR.3 tarball
When I built the source from the NTFS-3G Advanced 2010.10.2AR.3.tgz tarball, I ran into build errors because the preprocessor symbol OPT_XATTRMAPPING is written as OPT_xattrmapping in one place in each of lowntfs-3g.c and ntfs-3g.c. I attached a patch to fix the problem.
P.S. What's the essential difference between lowntfs-3g and ntfs-3g? I know that there are differences in options, but why are there 2 programs?
I can't attach the patch, here it is:
Code:
diff -Naur ntfs-3g-2010.10.2AR.3_old/src/lowntfs-3g.c ntfs-3g-2010.10.2AR.3/src/lowntfs-3g.c
--- ntfs-3g-2010.10.2AR.3_old/src/lowntfs-3g.c 2010-12-07 10:06:37.000000000 -0600
+++ ntfs-3g-2010.10.2AR.3/src/lowntfs-3g.c 2011-01-03 22:17:43.959847908 -0600
@@ -4095,7 +4095,7 @@
break;
#ifdef HAVE_SETXATTR /* extended attributes interface required */
#ifdef XATTR_MAPPINGS
- case OPT_xattrmapping :
+ case OPT_XATTRMAPPING :
ctx->xattrmap_path = strdup(val);
if (!ctx->xattrmap_path) {
ntfs_log_error("no more memory to store "
diff -Naur ntfs-3g-2010.10.2AR.3_old/src/ntfs-3g.c ntfs-3g-2010.10.2AR.3/src/ntfs-3g.c
--- ntfs-3g-2010.10.2AR.3_old/src/ntfs-3g.c 2010-12-07 10:06:37.000000000 -0600
+++ ntfs-3g-2010.10.2AR.3/src/ntfs-3g.c 2011-01-03 22:18:31.430052301 -0600
@@ -3800,7 +3800,7 @@
break;
#ifdef HAVE_SETXATTR /* extended attributes interface required */
#ifdef XATTR_MAPPINGS
- case OPT_xattrmapping :
+ case OPT_XATTRMAPPING :
ctx->xattrmap_path = strdup(val);
if (!ctx->xattrmap_path) {
ntfs_log_error("no more memory to store "