From: Jim Meyering Date: Sun, 3 Sep 2000 13:56:15 +0000 (+0000) Subject: correct description of unlink_dest_after_failed_open X-Git-Tag: FILEUTILS-4_0z~64 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=b1bf91b67d9c980832a3fe6b364f5389efb464cd;p=thirdparty%2Fcoreutils.git correct description of unlink_dest_after_failed_open --- diff --git a/src/copy.h b/src/copy.h index 51923baccc..69a2e2e311 100644 --- a/src/copy.h +++ b/src/copy.h @@ -52,7 +52,7 @@ struct cp_options /* If nonzero, first try to open each existing destination nondirectory, then, if the open fails, unlink and try again. - This option must be set for `cp', in case the destination file + This option must be set for `cp -f', in case the destination file exists when the open is attempted. It is irrelevant to `mv' since any destination is sure to be removed before the open. */ int unlink_dest_after_failed_open; @@ -62,6 +62,7 @@ struct cp_options Otherwise, the failure still elicits a diagnostic, but it doesn't change copy's return value. This is nonzero for cp and mv, and zero for install. */ + /* FIXME: this is now unused. */ int failed_unlink_is_fatal; /* If nonzero, create hard links instead of copying files.