diff options
author | agc <agc> | 2007-05-15 23:10:05 +0000 |
---|---|---|
committer | agc <agc> | 2007-05-15 23:10:05 +0000 |
commit | c4fabac64aa072fae03476a0af98585557b21795 (patch) | |
tree | 0e777f9e61d9e79d2d03e5389f784595195156bd /filesystems/fuse-ntfs-3g/patches/patch-ac | |
parent | 39df72b551c482df025ce8f3c24e4ef37f00a880 (diff) | |
download | pkgsrc-c4fabac64aa072fae03476a0af98585557b21795.tar.gz |
Add a patch to pass the EXEC_NAME through to fuse_new(). Otherwise there
is no way of knowing the file system's name, since it is never passed to
the refuse layer.
Diffstat (limited to 'filesystems/fuse-ntfs-3g/patches/patch-ac')
-rw-r--r-- | filesystems/fuse-ntfs-3g/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/filesystems/fuse-ntfs-3g/patches/patch-ac b/filesystems/fuse-ntfs-3g/patches/patch-ac new file mode 100644 index 00000000000..42b7a654f93 --- /dev/null +++ b/filesystems/fuse-ntfs-3g/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.3 2007/05/15 23:10:05 agc Exp $ + +--- src/ntfs-3g.c 2007/05/15 12:39:26 1.1 ++++ src/ntfs-3g.c 2007/05/15 12:38:53 +@@ -2060,7 +2060,7 @@ + struct fuse_args margs = FUSE_ARGS_INIT(0, NULL); + + /* The fuse_mount() options get modified, so we always rebuild it */ +- if ((fuse_opt_add_arg(&margs, "") == -1 || ++ if ((fuse_opt_add_arg(&margs, EXEC_NAME) == -1 || + fuse_opt_add_arg(&margs, "-o") == -1 || + fuse_opt_add_arg(&margs, parsed_options) == -1)) { + ntfs_log_error("Failed to set FUSE options.\n"); |