Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std.system: fix slice bounds in preadMin()
If a partial read occurs past the halfway point, buf.len - i will be less than i, which is illegal. The end bound is also entirely unecessary in this case, so just remove it.
- Loading branch information