]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
correct description of unlink_dest_after_failed_open
authorJim Meyering <jim@meyering.net>
Sun, 3 Sep 2000 13:56:15 +0000 (13:56 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 Sep 2000 13:56:15 +0000 (13:56 +0000)
src/copy.h

index 51923baccc7e76b41d68a6cafc6b29c22ef8e9a6..69a2e2e311696b932665b8cbf8cfab71afce45e5 100644 (file)
@@ -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.