freebsd-dev/bin/cp
Edward Tomasz Napierala 9fa5f90fbf Don't try to copy a socket after "xxx is a socket (not copied)." message.
Previously, it would either try to copy it anyway and fail (without -R),
or create fifo instead of the socket (with -R).

Found with:	Coverity Prevent
CID:		5623
MFC after:	2 weeks
2010-06-05 08:50:39 +00:00
..
cp.1 Implement an "-x" option to cp(1), for compatibility with Linux and 2010-01-17 09:37:31 +00:00
cp.c Don't try to copy a socket after "xxx is a socket (not copied)." message. 2010-06-05 08:50:39 +00:00
extern.h Add an option to allow copying of a hierarchy while linking he regular files. 2006-08-24 20:45:38 +00:00
Makefile Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide 2009-05-22 15:56:43 +00:00
utils.c Change all our own code to use st_*tim instead of st_*timespec. 2010-03-28 13:16:08 +00:00