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 582aa2a commit 906f53dCopy full SHA for 906f53d
src/uucore/src/lib/lib.rs
@@ -169,7 +169,7 @@ pub fn disable_rust_signal_handlers() -> Result<(), Errno> {
169
pub fn stdout_is_closed() -> bool {
170
#[cfg(unix)]
171
{
172
- use nix::fcntl::{fcntl, FcntlArg};
+ use nix::fcntl::{FcntlArg, fcntl};
173
match fcntl(std::io::stdout(), FcntlArg::F_GETFL) {
174
Ok(_) => false,
175
Err(nix::errno::Errno::EBADF) => true,
0 commit comments