Re: tee rewrite

2013-04-21 Thread Kenneth R Westerback
On Sun, Apr 21, 2013 at 01:33:55PM -0400, Ted Unangst wrote: > ok, it's not a rewrite, but I changed a lot of the lines. > > Use better types, check errors against -1, delete some casts, stack > buffer eliminates one malloc, braces for long blocks. As long as you're in there, why not eliminate LI

tee rewrite

2013-04-21 Thread Ted Unangst
ok, it's not a rewrite, but I changed a lot of the lines. Use better types, check errors against -1, delete some casts, stack buffer eliminates one malloc, braces for long blocks. Index: tee.c === RCS file: /cvs/src/usr.bin/tee/tee.