microtar
microtar copied to clipboard
Archiving gz files
When attempting to archive an already tar.gz compressed file, it corrupts it and then I fail to extract.
Hi. I'm working on a .tar.gz reader based on microtar and this issue might be relevant to me.
If I get it right, you want a .tar.gz inside of a .tar? Why exactly? Do you have any tests?
I think he tries to archive a whole directory that contains some TGZs.
De : Okay Envoyé : jeudi 1 août à 09:29 Objet : Re: [rxi/microtar] Archiving gz files (#11) À : rxi/microtar Cc : Subscribed
Hi. I'm working on a .tar.gz reader based on microtar and this issue might be relevant to me. If I get it right, you want a .tar.gz inside of a .tar? Why exactly? Do you have any tests? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/rxi/microtar/issues/11?email_source=notifications&email_token=AJERDMPGLMJF5MKENGG5263QCKGGVA5CNFSM4H5DRKM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3JTO7I#issuecomment-517158781, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJERDMP2L2KPS5SIINMIHXLQCKGGVANCNFSM4H5DRKMQ.
Yes, I am trying to archive .tar.gz files as well. I solved it by using ios::binary when reading the data from the file.