diff options
author | Jim Meyering <jim@meyering.net> | 2004-11-14 00:20:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-11-14 00:20:01 +0000 |
commit | f094ac44130b59eb3beb5ec53af1c8342732d5df (patch) | |
tree | 0b2727c8f73d910368e1d7d7298be9d2f7153a3e /tests/mkdir | |
parent | d417dd764f80e3ec638a5bf3ff2a62e695537295 (diff) | |
download | coreutils-f094ac44130b59eb3beb5ec53af1c8342732d5df.tar.xz |
(close_stdout): Don't fail just because stdout was
closed initially, since some programs don't write to stdout in the
normal course of operation (other than --version and --help), and
we don't want this function to make e.g. `cp 1 2 >&-' fail.
But do fail if it was closed and someone has tried to write to it.
E.g., printf 'foo' >&-
Diffstat (limited to 'tests/mkdir')
0 files changed, 0 insertions, 0 deletions