Skip to content

Commit 7168feb

Browse files
committed
treat all io::Errors as non-EBADF in vexos
1 parent 33f5078 commit 7168feb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/vexos/stdio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub const STDIN_BUF_SIZE: usize = 4096;
100100
pub const STDOUT_BUF_SIZE: usize = 2048;
101101

102102
pub fn is_ebadf(_err: &io::Error) -> bool {
103-
true
103+
false
104104
}
105105

106106
pub fn panic_output() -> Option<impl io::Write> {

0 commit comments

Comments
 (0)