# never advance seek position in \`std.Io.Reader.peekDelimiterExclusive\` \(\#24899\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/6cdbf4223c14ca5d3adf7574efda6c6b66b37106)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 6cdbf4223c14ca5d3adf7574efda6c6b66b37106

Requested commit: 6cdbf4223c14ca5d3adf7574efda6c6b66b37106

Commit: 6cdbf4223c14ca5d3adf7574efda6c6b66b37106

Tree: 4a6cf1386136d6b03fddd0255ffdffd0aa8919e5

Author: Rohlem

Committer: Andrew Kelley

## Message

```
never advance seek position in `std.Io.Reader.peekDelimiterExclusive` (#24899)

* extend std.Io.Reader.peekDelimiterExclusive test to repeat successful end-of-stream path (fails)

* fix std.Io.Reader.peekDelimiterExclusive to not advance seek position in successful end-of-stream path
```

## Parents

- [f54f061fb38915908c4a9fb15153e72c455a4e0d](https://git.cafe/gitcafe/zig/commit/f54f061fb38915908c4a9fb15153e72c455a4e0d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/6cdbf4223c14ca5d3adf7574efda6c6b66b37106?format=markdown)
