projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b5ddbc
)
(cp_option_init): Initialize new member.
author
Jim Meyering
<jim@meyering.net>
Thu, 22 Nov 2001 10:54:05 +0000
(10:54 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 22 Nov 2001 10:54:05 +0000
(10:54 +0000)
(main): dest_info_init now takes a parameter.
src/install.c
patch
|
blob
|
history
diff --git
a/src/install.c
b/src/install.c
index 9d00f86f86aa7cbcf223a243f6efa9c685ca57d2..9605bd86b1636f85af2bfcfc698d6961cf6236bd 100644
(file)
--- 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);