This repository was archived by the owner on Nov 11, 2024. It is now read-only.
Commit b7c4d38
committed
Don't set errno at the end of a directory if no error occurred
In _FAT_dirnext, which implements a function similar to readdir, don't
set errno to ENOENT, because reaching the end of a directory is not an
error. This conforms to POSIX readdir and is consistent with _FAT_read
not setting errno when reaching EOF.1 parent 3fde6ce commit b7c4d38
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
592 | 591 | | |
593 | 592 | | |
594 | 593 | | |
| |||
0 commit comments