projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed20d8
)
(cp_option_init): Initialize new members.
author
Jim Meyering
<jim@meyering.net>
Sun, 3 Sep 2000 18:50:49 +0000
(18:50 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 3 Sep 2000 18:50:49 +0000
(18:50 +0000)
src/install.c
patch
|
blob
|
history
diff --git
a/src/install.c
b/src/install.c
index 3eb386d7f8bc0ed7aedd65e7c91588174adb885d..0b8a7f46bd85351489e82c6d0a445a1218a03891 100644
(file)
--- a/
src/install.c
+++ b/
src/install.c
@@
-189,7
+189,8
@@
cp_option_init (struct cp_options *x)
{
x->copy_as_regular = 1;
x->dereference = DEREF_ALWAYS;
- x->force = 1;
+ x->unlink_dest_before_opening = 0;
+ x->unlink_dest_after_failed_open = 1;
/* If unlink fails, try to proceed anyway. */
x->failed_unlink_is_fatal = 0;