about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2024-09-06 16:28:22 -0400
committerbinarycat <binarycat@envs.net>2024-09-06 16:28:22 -0400
commitdfdbf6343ae1ea97b504b36ec1933e181ec7198e (patch)
tree732f527cd05ffd122c73d307643ce17cc79094cc /library/std/src/sys/pal/unix/stack_overflow.rs
parent17b322fa69eed7216dccc9f097eb68237cf62234 (diff)
downloadrust-dfdbf6343ae1ea97b504b36ec1933e181ec7198e.tar.gz
rust-dfdbf6343ae1ea97b504b36ec1933e181ec7198e.zip
properly handle EOF in BufReader::peek
previously this would cause an infinite loop due to it being
unable to read `n` bytes.
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions