mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
missing arraybuffer pass
This commit is contained in:
parent
b0e760426e
commit
fcb620b614
2
index.js
2
index.js
@ -485,7 +485,7 @@ class Fuse extends Nanoresource {
|
||||
_op_getxattr (signal, path, name, valueBuf, position) {
|
||||
this.ops.getxattr(path, name, position, (err, value) => {
|
||||
if (!err) {
|
||||
if (!value) return signal(IS_OSX ? -93 : -61)
|
||||
if (!value) return signal(IS_OSX ? -93 : -61, valueBuf.buffer)
|
||||
value.copy(valueBuf)
|
||||
return signal(value.length, valueBuf.buffer)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user