From: Paul Eggert Date: Mon, 13 Sep 2004 12:13:04 +0000 (+0000) Subject: Adjust to backup file rename. X-Git-Tag: COREUTILS-5_3_0~691 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e60f6731d159efbb0ff3ff85c40e7965b19de1e;p=platform%2Fupstream%2Fcoreutils.git Adjust to backup file rename. --- diff --git a/src/install.c b/src/install.c index f69eaaf..b248454 100644 --- a/src/install.c +++ b/src/install.c @@ -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;