Skip to content
Commit 7ae46c35 authored by Simon Glass's avatar Simon Glass
Browse files

tools: Avoid leaving extra data at the end of copied files



The copyfile() implementation has strange behaviour if the destination
file already exists. Update it to ensure that any existing data in the
destination file is dropped.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent e291a5c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment