diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-22 10:54:05 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-22 10:54:05 +0000 |
commit | 8cd4321b8bd3b166bae966c3d6fe59e890d136e9 (patch) | |
tree | b93a4d6899e0fa2ba28a38cbc8918c87a947dc77 /src | |
parent | 6b5ddbc2c92858d37f4d8c18e7b5da6c32ecde06 (diff) | |
download | coreutils-8cd4321b8bd3b166bae966c3d6fe59e890d136e9.tar.xz |
(cp_option_init): Initialize new member.
(main): dest_info_init now takes a parameter.
Diffstat (limited to 'src')
-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 9d00f86f8..9605bd86b 100644 --- a/src/install.c +++ b/src/install.c @@ -173,6 +173,7 @@ cp_option_init (struct cp_options *x) x->update = 0; x->verbose = 0; x->xstat = stat; + x->dest_info = NULL; } int @@ -337,7 +338,7 @@ is not a directory"), usage (1); } - dest_info_init (); + dest_info_init (&x); for (i = 0; i < n_files - 1; i++) { errors |= install_file_in_dir (file[i], dest, &x); |