(cp_option_init): Don't set it.
authorJim Meyering <jim@meyering.net>
Sat, 13 Oct 2001 19:12:52 +0000 (19:12 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 13 Oct 2001 19:12:52 +0000 (19:12 +0000)
src/cp.c
src/install.c
src/mv.c

index 0edbc70d929cf09eb4854e64835635090f8fcf3e..6d1020511ca4a605505a166c6d817fa0f5fb91bc 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -690,7 +690,6 @@ cp_option_init (struct cp_options *x)
   x->dereference = DEREF_UNDEFINED;
   x->unlink_dest_before_opening = 0;
   x->unlink_dest_after_failed_open = 0;
-  x->failed_unlink_is_fatal = 1;
   x->hard_link = 0;
   x->interactive = I_UNSPECIFIED;
   x->myeuid = geteuid ();
index 1642cd3d756b4cd7e9f39d5adf6a7c637557c06f..3be4369a5665e1111e32545e057363e023ec01fd 100644 (file)
@@ -147,10 +147,6 @@ cp_option_init (struct cp_options *x)
   x->dereference = DEREF_ALWAYS;
   x->unlink_dest_before_opening = 1;
   x->unlink_dest_after_failed_open = 0;
-
-  /* If unlink fails, try to proceed anyway.  */
-  x->failed_unlink_is_fatal = 0;
-
   x->hard_link = 0;
   x->interactive = I_UNSPECIFIED;
   x->move_mode = 0;
index be0191eeb1eab63ab3c20228688302cc11fa2984..4b05263cf4c54381fd8c4ff65b6dc6baca6e73e7 100644 (file)
--- a/src/mv.c
+++ b/src/mv.c
@@ -122,7 +122,6 @@ cp_option_init (struct cp_options *x)
   x->dereference = DEREF_NEVER;
   x->unlink_dest_before_opening = 0;
   x->unlink_dest_after_failed_open = 0;
-  x->failed_unlink_is_fatal = 1;
   x->hard_link = 0;
   x->interactive = I_UNSPECIFIED;
   x->move_mode = 1;