]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tee: simplify argv handling
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Oct 2015 00:01:32 +0000 (17:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Oct 2015 00:02:43 +0000 (17:02 -0700)
commit88a7228bb2aafb2efb5a7b5de5348ac8105ad9b1
treefa5ddf63d0110c471ddcb1c9944f9637417b1484
parentac81caaf77b96c493f941374b50054fc26f7ddba
tee: simplify argv handling

* src/tee.c (tee_files): Last arg is now char ** instead of char
const **, as that is a bit simpler.  All callers changed.  Modify
files[-1], not files[nfiles], as that is a bit faster and simpler.
Latter problem pointed out by Rainer Deyke in:
http://bugs.gnu.org/21611
src/tee.c