Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not create extra 0 sized file if last part is bigger than expected.
We don't need to open a new file just after we copy out our big part. Algorithm is simplified (thanks to @veloman-yunkan): - We better check if current part should be closed at beggining of the loop. - Copy the data in the (potentially new) current part. i- No (not so) special cases.
- Loading branch information