commit | 5c5797fcc84e7e1afc24eeb65f16c65059525fc3 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Nov 12 12:28:05 2021 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Jan 26 08:50:43 2022 -0700 |
tree | c82d8c9bb34d430b5099c9b72a6bea7c52c7ae6d | |
parent | 674fc7fe6895498cc5b68217f447f2a3268263c1 [diff] |
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: Simon Glass <sjg@chromium.org>