From bd7c7046e5f96f58a66e76a09c597de3ec37b117 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Mon, 27 Apr 2015 12:49:09 -0700 Subject: [PATCH] add GenericFunc to OP_CHMOD args Fixes #35. It also looks like a few of these other OP's might also need this same treatment (i.e. "truncate"), though I haven't yet tested to verify that. --- fuse4js.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/fuse4js.cc b/fuse4js.cc index 14f580d..94d4254 100644 --- a/fuse4js.cc +++ b/fuse4js.cc @@ -724,6 +724,7 @@ static void DispatchOp(uv_async_t* handle, int status) case OP_CHMOD: argv[argc++] = NanNew((double)f4js_cmd.u.chmod.mode); + argv[argc++] = NanNew(f4js.GenericFunc); break; case OP_SETXATTR: