mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(cp_option_init): Don't set it.
This commit is contained in:
1 parent
da73a665f0
commit
6d334f8f62
3 files changed
-6
No files matched your search
@@ -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 ();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user