Adjust to backup file rename.

This commit is contained in:
Paul Eggert
2004-09-13 12:13:04 +00:00
parent 615d4b2cc8
commit 3e60f6731d
+2 -2
View File
@@ -154,7 +154,7 @@ cp_option_init (struct cp_options *x)
x->recursive = false;
x->sparse_mode = SPARSE_AUTO;
x->symbolic_link = false;
x->backup_type = none;
x->backup_type = no_backups;
/* Create destination files initially writable so we can run strip on them.
Although GNU strip works fine on read-only files, some others
@@ -320,7 +320,7 @@ main (int argc, char **argv)
x.backup_type = (make_backups
? xget_version (_("backup type"),
version_control_string)
: none);
: no_backups);
n_files = argc - optind;
file = argv + optind;