Fix poll_oneoff's handling of non-regular files. (#6258)

`poll_oneoff` uses `system_interface::ReadReady` to compute how many
bytes are ready to be read, which is part of the Preview1 `poll_oneoff`
API. This updates to system-interface 0.25.7 which has a fix to handle
special files such as /dev/urandom and /dev/null properly.

Fixes #6239.
This commit is contained in:
Dan Gohman
2023-04-20 17:34:29 -07:00
committed by GitHub
parent 1192697c7e
commit 1a077dfd6b
2 changed files with 8 additions and 2 deletions

View File

@@ -1140,6 +1140,12 @@ criteria = "safe-to-deploy"
delta = "0.25.4 -> 0.25.6"
notes = "Just a dependency version bump"
[[audits.system-interface]]
who = "Dan Gohman <dev@sunfishcode.online>"
criteria = "safe-to-deploy"
delta = "0.25.6 -> 0.25.7"
notes = "This is a minor bug-fix update."
[[audits.tinyvec]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-deploy"