freebsd-dev/usr.bin/cmp
Alan Somers 4e354796e9 Fix file descriptor leaks in cmp(1)
Also, add a few test cases

Reported by:	Coverity
CID:		271624 275338
Reviewed by:	ngie
MFC after:	4 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D9074
2017-01-07 00:59:06 +00:00
..
tests Fix file descriptor leaks in cmp(1) 2017-01-07 00:59:06 +00:00
cmp.1
cmp.c Restrict stdin if it's not in use. 2016-10-07 19:02:13 +00:00
extern.h
link.c
Makefile Integrate usr.bin/cmp/tests from NetBSD into atf/kyua 2014-10-09 00:50:33 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-11-13 00:11:30 +00:00
misc.c
regular.c
special.c Fix file descriptor leaks in cmp(1) 2017-01-07 00:59:06 +00:00