1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/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 Fix markup. 2007-02-27 11:25:58 +00:00
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