aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs/File.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-09-06 10:23:41 +0100
committerAndrew Kelley <andrew@ziglang.org>2025-10-08 17:00:15 -0700
commitbf58b4e41990973a72ef49163abe63d41c966e23 (patch)
tree43cacbdf9ba9d128dc7f73b3c667c9c3b684a621 /lib/std/fs/File.zig
parent889942a8b74d563e51923d9d14a45e58445aa38f (diff)
downloadzig-bf58b4e41990973a72ef49163abe63d41c966e23.tar.gz
zig-bf58b4e41990973a72ef49163abe63d41c966e23.zip
std.Io.Reader: fix delimiter bugs
Fix `takeDelimiter` and `takeDelimiterExclusive` tossing too many bytes (#25132) Also add/improve test coverage for all delimiter and sentinel methods, update usages of `takeDelimiterExclusive` to not rely on the fixed bug, tweak a handful of doc comments, and slightly simplify some logic. I have not fixed #24950 in this commit because I am a little less certain about the appropriate solution there. Resolves: #25132 Co-authored-by: Andrew Kelley <andrew@ziglang.org>
Diffstat (limited to 'lib/std/fs/File.zig')
0 files changed, 0 insertions, 0 deletions