freebsd-nq/bin/rcp
Colin Percival c28f49d439 In the error handling path, don't call close(fd) if the error we're
handling is that fd = open(foo) is -1.  This bug is harmless since
close(-1) just returns an error (which the code ignores).

Found by:	Coverity Prevent(tm)
CID:		1503 (in userland test run)
2007-05-22 04:21:00 +00:00
..
extern.h
Makefile
rcp.1
rcp.c In the error handling path, don't call close(fd) if the error we're 2007-05-22 04:21:00 +00:00
util.c