projects
/
platform
/
upstream
/
coreutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cp: add an option to only copy the file attributes
[platform/upstream/coreutils.git]
/
src
/
install.c
diff --git
a/src/install.c
b/src/install.c
index
038e869
..
9702914
100644
(file)
--- a/
src/install.c
+++ b/
src/install.c
@@
-280,6
+280,7
@@
cp_option_init (struct cp_options *x)
x->preserve_mode = false;
x->preserve_timestamps = false;
x->reduce_diagnostics=false;
+ x->data_copy_required = true;
x->require_preserve = false;
x->require_preserve_context = false;
x->require_preserve_xattr = false;