rikyoz / bit7z

A C++ static library offering a clean and simple interface to the 7-zip shared libraries.
https://rikyoz.github.io/bit7z
Mozilla Public License 2.0
602 stars 110 forks source link

[Bug]: Unable to properly decompress and preview the format of tar.bz2 #159

Closed psvajaz closed 9 months ago

psvajaz commented 11 months ago

bit7z version

4.0.x RC

Compilation options

BIT7Z_AUTO_FORMAT, BIT7Z_USE_NATIVE_STRING

7-zip version

v22.01

7-zip shared library used

7z.dll / 7z.so

Compilers

MSVC

Compiler versions

MSVC2017

Architecture

x86_64

Operating system

Windows

Operating system versions

Windows 11, Windows10

Bug description

Unable to properly decompress and preview the format of tar.bz2. 7zFM show file type is bzip2

TestFile: Because GitHub does not support uploading files in bz2 format, I will compress the test files using zip, and you can decompress them for testing TestFile.zip

7zFm and Winrar preview window: image

Steps to reproduce

No response

Expected behavior

No response

Relevant compilation output

No response

Code of Conduct

rikyoz commented 11 months ago

Hi! What problems are you having specifically?

Please consider the following details:

I did a quick test with your archive and had no particular issues while previewing or extracting it (provided what I wrote above).

psvajaz commented 11 months ago

OK, thank you. First, I'll test whether the bz2 file can be directly unzipped to the content, and then call the BitArchiveReader method to preview