SerCeMan / jnr-fuse

FUSE implementation in Java using Java Native Runtime (JNR)
MIT License
370 stars 88 forks source link

Included ENOATTR, ENOTSUP, EACCES in ErrorCodes #33

Closed PhilLehmann closed 7 years ago

PhilLehmann commented 7 years ago

I retrieved the integer values from https://opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/errno.h (ENOATTR 93, ENOTSUP 45) and cross checked https://github.com/jnr/jnr-constants/blob/master/src/main/java/jnr/constants/platform/Errno.java, if those error codes were already available there (only EACCES was).

It seems from errno.h, that error code 45 is used for multiple errors and it is also redundant to error EL2NSYNC in ErrorCodes, but I could not test it, as I don't have Mac OS at hand. Maybe someone else could test it?

SerCeMan commented 7 years ago

@philrykoff Thanks for the contribution!

SerCeMan commented 7 years ago

https://github.com/SerCeMan/jnr-fuse/issues/29 - to add a cross-reference