-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add case for ustar header with gnu longname #224
Conversation
Thanks for the PR! Is this perhaps a new feature in 7zip? Would it be possible to file an issue with them indicating that it may be buggy? |
Or alternatively, if there's precedent of doing this in other libraries, then we could do that. |
I do not believe so. I did some more investigation. This bug also exists for archives created on linux with
I can do some investigation. What projects would you recommend looking at? |
It looks like |
Ah ok that's good enough for me! In that case want to remove the check for |
(or actually, update it to |
…der info Signed-off-by: David McNeil <mcneil.david2@gmail.com>
Signed-off-by: David McNeil <mcneil.david2@gmail.com>
I updated the PR to check for both header formats. |
Thanks! |
* Check for any recognized header format when adding entry extended header info Signed-off-by: David McNeil <mcneil.david2@gmail.com> * Fix formatting Signed-off-by: David McNeil <mcneil.david2@gmail.com>
Resolves #223
When using
7zip
to make an archive on Windows it creates an archive with austar
header with entries of typeGnuLongname
. This PR adds support for this case.I know very little about the
tar
spec. It would be great if someone could confirm that this is the correct fix. Should support also be added forustar
withGnuLonglink
?Signed-off-by: David McNeil mcneil.david2@gmail.com