]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tee: generalize the --write-error option to --output-error
authorPádraig Brady <P@draigBrady.com>
Mon, 2 Mar 2015 20:06:17 +0000 (20:06 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 4 Mar 2015 13:24:21 +0000 (13:24 +0000)
commit5e9c277f995c517e4403c87e74b758d5b65004f2
tree2ce8a8cfa4224d04c841c6ef21a2938078ab2107
parent69410690b8b9838b190c1eaf7d0fa9634e991903
tee: generalize the --write-error option to --output-error

Adjust commit v8.23-140-gfdd6ebf to add the --output-error option
instead of --write-error, and treat open() errors like write() errors.

* doc/coreutils.texi (tee invocation): s/write-error/output-error/.
* src/tee.c (main): Exit on open() error if appropriate.
* tests/misc/tee.sh: Add a case to test open() errors.
* NEWS: Adjust for the more general output error behavior.

Suggested by Bernhard Voelker.
NEWS
doc/coreutils.texi
src/tee.c
tests/misc/tee.sh