1
0
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:
Mathias Buus 2020-05-20 16:04:44 +02:00
parent b0e760426e
commit fcb620b614

View File

@ -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)
}