1
0
mirror of https://github.com/fuse-friends/fuse-native synced 2024-10-27 18:34:01 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Mathias Buus
21658b5ebb 2.2.6 2020-06-03 21:26:19 +02:00
Mathias Buus
34554d664b pass down array buffer in timeout 2020-06-03 21:26:08 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -263,13 +263,13 @@ class Fuse extends Nanoresource {
switch (name) {
case 'write':
case 'read':
return cb(TIMEOUT_ERRNO, 0, input[2])
return cb(TIMEOUT_ERRNO, 0, input[2].buffer)
case 'setxattr':
return cb(TIMEOUT_ERRNO, input[2])
return cb(TIMEOUT_ERRNO, input[2].buffer)
case 'getxattr':
return cb(TIMEOUT_ERRNO, input[2])
return cb(TIMEOUT_ERRNO, input[2].buffer)
case 'listxattr':
return cb(TIMEOUT_ERRNO, input[1])
return cb(TIMEOUT_ERRNO, input[1].buffer)
}
}

View File

@ -1,6 +1,6 @@
{
"name": "fuse-native",
"version": "2.2.5",
"version": "2.2.6",
"description": "Fully maintained fuse bindings for Node that aims to cover the entire FUSE api",
"main": "index.js",
"bin": {