1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +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 Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
Makefile Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
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 Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00