This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 5b7aec5
Ian Macphail
[[ Bug 23055 ]] Reset EOF marker when seeking in a file on macOS
This patch fixes an issue where if a previous read from a filehandle has
resulted in an END-OF-FILE then subsequent reads would always fail with
EOF result even after seeking to another location within the file. This
is fixed by resetting the error state of the filehandle before seeking.1 parent 43df7c4 commit 5b7aec5
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1601 | 1601 | | |
1602 | 1602 | | |
1603 | 1603 | | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
1604 | 1609 | | |
1605 | 1610 | | |
1606 | 1611 | | |
| |||
0 commit comments