freebsd-dev/bin/cp
Bruce Evans 6a834fc3f1 Don't unlink the target file if the copy failed. This behaviour isn't
documented and is incompatible with gnu cp.  It has very few good effects
(it recovers some disk space) and many bad ones:
- special files are unlinked after certain errors.
- the data may not be recoverable if the source is a special file or fifo.
- unlinking destroys the target attributes as well as the target data.
- unlinking doesn't actually remove the target data if the target is multiply
  linked.
1995-06-14 05:41:27 +00:00
..
cp.1 Added $Id$ 1994-09-24 02:59:15 +00:00
cp.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
extern.h Added $Id$ 1994-09-24 02:59:15 +00:00
Makefile Added $Id$ 1994-09-24 02:59:15 +00:00
utils.c Don't unlink the target file if the copy failed. This behaviour isn't 1995-06-14 05:41:27 +00:00