summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-10-13 19:12:52 +0000
committerJim Meyering <jim@meyering.net>2001-10-13 19:12:52 +0000
commit6d334f8f628019bc95be9a64c8767595f7108f99 (patch)
tree55913f9877dd7428fa531d33c6a09fe82e72a8c5
parentda73a665f08196ce2af402efea2571833f06833b (diff)
downloadcoreutils-6d334f8f628019bc95be9a64c8767595f7108f99.tar.xz
(cp_option_init): Don't set it.
-rw-r--r--src/cp.c1
-rw-r--r--src/install.c4
-rw-r--r--src/mv.c1
3 files changed, 0 insertions, 6 deletions
diff --git a/src/cp.c b/src/cp.c
index 0edbc70d9..6d1020511 100644
--- 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 ();
diff --git a/src/install.c b/src/install.c
index 1642cd3d7..3be4369a5 100644
--- a/src/install.c
+++ b/src/install.c
@@ -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;
diff --git a/src/mv.c b/src/mv.c
index be0191eeb..4b05263cf 100644
--- 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;