diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-09-06 10:23:41 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-10-08 17:00:15 -0700 |
| commit | bf58b4e41990973a72ef49163abe63d41c966e23 (patch) | |
| tree | 43cacbdf9ba9d128dc7f73b3c667c9c3b684a621 /lib/std/fs/File.zig | |
| parent | 889942a8b74d563e51923d9d14a45e58445aa38f (diff) | |
| download | zig-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
