HardenedBSD/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
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
Makefile
utils.c