mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Adjust to backup file rename.
This commit is contained in:
1 parent
615d4b2cc8
commit
3e60f6731d
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user