diff options
author | Jim Meyering <jim@meyering.net> | 1998-05-11 04:07:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-05-11 04:07:16 +0000 |
commit | 859bfc78b10accd87729925e3cb3d9f45aae951b (patch) | |
tree | bc3c2e468d93c9cbf62f88ad14eed6490e2db8f0 /src/install.c | |
parent | 21ae3d911c89f6e656e249b3a3d5b8fc282eea64 (diff) | |
download | coreutils-859bfc78b10accd87729925e3cb3d9f45aae951b.tar.xz |
reflect additional parameter to copy
initialize new member: move_mode.
Diffstat (limited to 'src/install.c')
-rw-r--r-- | src/install.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c index 8d8588100..f5a3ddbca 100644 --- a/src/install.c +++ b/src/install.c @@ -208,6 +208,7 @@ cp_option_init (struct cp_options *x) x->hard_link = 0; x->interactive = 0; + x->move_mode = 0; x->myeuid = geteuid (); x->one_file_system = 0; x->preserve_owner_and_group = 0; @@ -476,7 +477,7 @@ copy_file (const char *from, const char *to, const struct cp_options *x) return 1; } - fail = copy (from, to, nonexistent_dst, x, ©_into_self); + fail = copy (from, to, nonexistent_dst, x, ©_into_self, NULL); return fail; } |