summaryrefslogtreecommitdiff
path: root/src/copy.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-09-03 13:56:15 +0000
committerJim Meyering <jim@meyering.net>2000-09-03 13:56:15 +0000
commitb1bf91b67d9c980832a3fe6b364f5389efb464cd (patch)
treeaa8924c7e09786a1cd29190cb7c8376556e19ec6 /src/copy.h
parente2a422b8efe5b302502e39ee288fd09a746a83e2 (diff)
downloadcoreutils-b1bf91b67d9c980832a3fe6b364f5389efb464cd.tar.xz
correct description of unlink_dest_after_failed_open
Diffstat (limited to 'src/copy.h')
-rw-r--r--src/copy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/copy.h b/src/copy.h
index 51923bacc..69a2e2e31 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.