Fix 'shutdown' regression

We did not update the relibc version needed for redox-rt or generic-rt.
Additionally, base @6b9593946 was missing an updated callsite for
`can_recv()`.
This commit is contained in:
Connor-GH
2026-01-19 14:11:26 -06:00
parent 795952adac
commit 0580c2c761
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ impl<'a> SchemeSocket for UdpSocket<'a> {
) -> SyscallResult<usize> {
if !file.read_enabled {
Ok(0)
} else if self.can_recv() {
} else if self.can_recv(&file.data) {
let (length, _) = self.recv_slice(buf).expect("Can't receive slice");
Ok(length)
} else if file.flags & syscall::O_NONBLOCK == syscall::O_NONBLOCK {