History log of /freebsd-10.1-release/usr.bin/tee/tee.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 231524 11-Feb-2012 cracauer

Reverting last change r231449 (fix bin/164947) due to concerns voiced
on src-committers and the fact that I can only take care of this in a
week.


# 231449 10-Feb-2012 cracauer

Fix bin/164947: tee looses data when writing to non-blocking file descriptors

tee was not handling EAGAIN

patch submitted by Diomidis Spinellis <dds@aueb.gr>. Thanks so much

reproduced and re-tested locally


# 227187 06-Nov-2011 ed

Add missing static keywords to tee(1)


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 200462 13-Dec-2009 delphij

Revert most part of 200420 as requested, as more review and polish is
needed.


# 200420 11-Dec-2009 delphij

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


# 102944 04-Sep-2002 dwmalone

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5


# 99433 05-Jul-2002 tjr

Use err instead of errx when malloc fails. "malloc" is not a helpful
error message.


# 96803 17-May-2002 jmallett

Revert part of the previous revision. Changing exit() to return() in main()
is wrong, even though our C compiler doesn't understand that exit() eats
control of the program, and as such can sometimes complain that main() reaches
the bottom of its body without an explicit return().

Aside from that, the functional usefulness of changing it is effectively nil,
so back it out.

Submitted by: mike


# 96776 17-May-2002 jmallett

Remove spurious casts in malloc(3)'s argument.

Use `return' instead of `exit' at the bottom of main().


# 92922 21-Mar-2002 imp

remove __P


# 87303 03-Dec-2001 dwmalone

Warns cleanups. Add FreeBSD ID to Makefile.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 28199 14-Aug-1997 charnier

Use err(3) instead of local redefinition. Add usage().


# 24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources