summaryrefslogtreecommitdiff
path: root/init/import_parser.cpp
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2016-12-28 16:06:19 +0800
committerTom Cherry <tomcherry@google.com>2017-04-04 06:21:29 +0000
commitdbe88e7953ed53961056c7f5531d91d229293462 (patch)
tree8fb5586888fdaabceee56c689c53edba71bc8545 /init/import_parser.cpp
parent53089aa25ca9707e22e45e862f794bfc958d302a (diff)
init: use read_file and write_file to implement do_copy builtin
this will make the implementation more cleaner, and has error message output when failed on some operations also add the O_TRUNC flag explicitly for the open function called in write_file. And add more test on read_file and write_file functions Bug: 36726045 Test: manual with hikey Test: boot and init tests on bullhead Test: cast with fugu, per b/36726045 Merged-In: If3c30a2fff58cfece2fcd27e69c30382146e6808 Change-Id: If3c30a2fff58cfece2fcd27e69c30382146e6808 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'init/import_parser.cpp')
0 files changed, 0 insertions, 0 deletions