coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

tests/misc/close-stdout.sh

Open niyaznigmatullin opened this issue 2 years ago • 1 comments

Probably related to #2925

So, Rust's print!, println!, std::io::stdout().write, etc. don't fail when fd 1 is closed. This is because of RFC 1014.

GNU version utils fail with Bad file descriptor, when they write something.

Also related to #3093

niyaznigmatullin avatar Jul 24 '22 20:07 niyaznigmatullin

Also related to https://github.com/uutils/coreutils/issues/2873#issuecomment-1024940029, https://github.com/uutils/coreutils/issues/2873#issuecomment-1121421934, https://github.com/uutils/coreutils/issues/2873#issuecomment-1121436639

jhscheer avatar Aug 05 '22 05:08 jhscheer