From: Jim Meyering Date: Sat, 13 Oct 2001 19:12:52 +0000 (+0000) Subject: (cp_option_init): Don't set it. X-Git-Tag: FILEUTILS-4_1_1~131 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d334f8f628019bc95be9a64c8767595f7108f99;p=platform%2Fupstream%2Fcoreutils.git (cp_option_init): Don't set it. --- diff --git a/src/cp.c b/src/cp.c index 0edbc70..6d10205 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 1642cd3..3be4369 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 be0191e..4b05263 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;