freebsd-dev/bin/cp
Stephen McKay eedc99e7b5 cp -p could report success even if a file copy failed. This was due to
the cumulative exit status being overwritten when directory permissions
were being set.  This was particularly bad when called from mv(1) to
perform a cross-device move as the original files were deleted even if
the copy failed.

Reported by:    Slaven Rezic <slaven.rezic@berlin.de>
Patch by:       bde
PR:             42789
2002-09-22 11:15:56 +00:00
..
cp.1 Bump document date for the -n option. 2002-08-16 03:13:59 +00:00
cp.c cp -p could report success even if a file copy failed. This was due to 2002-09-22 11:15:56 +00:00
extern.h Add the -n option, which automatically answers "no" to the overwrite question. 2002-07-23 00:42:56 +00:00
Makefile Revert previous delta, which is not required with rev 1.5 of 2002-07-15 12:08:21 +00:00
utils.c Fix some easy WARNS. 2002-07-31 16:52:16 +00:00