Skip to content

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Jan 15, 2021

Previously overwriting a file will not truncate it, so if the download size was less than the file size already on disk then the resulting file will end up with a "corrupted" piece at the end.

Previously overwriting a file will not truncate it, so if the download
size was less than the file size already on disk then the resulting file
will end up with a "corrupted" piece at the end.
@cmaglie cmaglie requested review from rsora and silvanocerza January 15, 2021 16:05
@cmaglie cmaglie merged commit 7269102 into arduino:master Jan 18, 2021
@cmaglie cmaglie deleted the fix-downloader branch January 18, 2021 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants