mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
pass down array buffer in timeout
This commit is contained in:
parent
14b3a23d68
commit
34554d664b
8
index.js
8
index.js
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user