Fix Ignoring archive files after processing of internal archive #344
Fix Ignoring archive files after processing of internal archive #344codeFather2 wants to merge 2 commits into
Conversation
Add original folder named OriginalMacOsChild Add assertion to test (comparison of quantity)
|
@adamhathcock when are you going to merge this PR? |
|
This is really about non-compressed internal archives which is same as #86 I believe |
|
In this case, the problem was that if there is a file in the child archive, the size of which without compression is longer than the remaining length of the parent archive, then after reading the header of this file, the Reader moved to the end of the parent archive, skipping subsequent files. This is due to the fact that when compressing the file header from the child archive, it was placed before the header of the child archive itself, and then it was duplicated inside. My corrections allowed me to bypass this error, without damage to the usual archives. Without these changes, the files enclosed in the child archive will be uncompressed successfully, but files that follow the child archive will be ignored. The problem was noticed when using the archiver on Mac OS |
Fix #343