(cp_option_init): Initialize new members.
authorJim Meyering <jim@meyering.net>
Sun, 3 Sep 2000 18:50:49 +0000 (18:50 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 Sep 2000 18:50:49 +0000 (18:50 +0000)
src/install.c

index 3eb386d..0b8a7f4 100644 (file)
@@ -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;