diff options
author | Christopher Haster <geky@geky.net> | 2023-04-18 22:56:46 +0300 |
---|---|---|
committer | Christopher Haster <geky@geky.net> | 2023-04-18 23:10:07 +0300 |
commit | b33a5b3f856db91e556bc13ad4b7a6c86f75e892 (patch) | |
tree | d99eef526b4f6ec3c561602c887d0bf0ffd5c128 /tests | |
parent | 384a498762dada6a7a3b1d3c91beaa8db412eb5a (diff) |
Fixed issue where seeking to end-of-directory return LFS_ERR_INVAL
This was just an oversight. Seeking to the end of the directory should
not error, but instead restore the directory to the state where the next
read returns 0.
Note this matches the behavior of lfs_file_tell/lfs_file_seek.
Found by sosthene-nitrokey
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions