mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
File.Reader.seekBy: Fix erroneously tossing the buffer in streaming mode
The discard already handles updating the state, so the toss was redundant in the best case and would erroneously drop data in the worst case. Closes #36568
This commit is contained in:
parent
7988f79528
commit
efd227eca2
2 changed files with 9 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue