We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
For writing to RDONLY file, littlefs currently returns EINVAL, and for reading a WRONLY file, littlefs return EINVAL. According to the open group standard, this should be EBADF: http://pubs.opengroup.org/onlinepubs/9699919799/functions/write.html
See lines: https://github.com/geky/littlefs/blob/master/lfs.c#L1546 https://github.com/geky/littlefs/blob/master/lfs.c#L1490
The text was updated successfully, but these errors were encountered:
fixed in a25743a
Sorry, something went wrong.
No branches or pull requests
For writing to RDONLY file, littlefs currently returns EINVAL, and for reading a WRONLY file, littlefs return EINVAL. According to the open group standard, this should be EBADF:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/write.html
See lines:
https://github.com/geky/littlefs/blob/master/lfs.c#L1546
https://github.com/geky/littlefs/blob/master/lfs.c#L1490
The text was updated successfully, but these errors were encountered: