aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTom Zhu <ling.zhu@motorola.com>2009-09-28 19:53:12 -0500
committerSan Mehat <san@google.com>2009-09-30 14:15:49 -0700
commit4833d9f4986d6dafacff841beb3bf93172c84bdc (patch)
treedf5438a49fdd55c2b9075b8e671ecf42f2062698 /include
parent04ea5b974d12753d9ceae280fea0037cae1ba192 (diff)
downloadsystem_core-4833d9f4986d6dafacff841beb3bf93172c84bdc.tar.gz
system_core-4833d9f4986d6dafacff841beb3bf93172c84bdc.tar.bz2
system_core-4833d9f4986d6dafacff841beb3bf93172c84bdc.zip
init: builtins: trancate target file in do_copy
add O_TRUNC flag in open(), which will truncate the target file, otherwise, copy will keep the old content of the target file. Signed-off-by: Tom Zhu <ling.zhu@motorola.com> Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions