1
0
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:
Mathias Buus 2020-06-03 21:26:08 +02:00
parent 14b3a23d68
commit 34554d664b

View File

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