We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 022f729 commit 46eedd0Copy full SHA for 46eedd0
src/parallel/stderr.rs
@@ -25,7 +25,7 @@ fn get_flags(fd: std::os::unix::io::RawFd) -> Result<i32, Error> {
25
26
#[cfg(unix)]
27
fn set_flags(fd: std::os::unix::io::RawFd, flags: std::os::raw::c_int) -> Result<(), Error> {
28
- if unsafe { libc::fcntl(fd, libc::F_SETFL, flags | libc::O_NONBLOCK) } == -1 {
+ if unsafe { libc::fcntl(fd, libc::F_SETFL, flags) } == -1 {
29
Err(Error::new(
30
ErrorKind::IOError,
31
format!(
0 commit comments