-
-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
Description
bit7z version
4.0.x
Compilation options
BIT7Z_AUTO_FORMAT
7-zip version
v23.01
7-zip shared library used
7z.dll / 7z.so
Compilers
MSVC
Compiler versions
MSVC 2022
Architecture
x86_64
Operating system
Windows
Operating system versions
Windows 11
Bug description
When BitArchiveReader is created with a file "test.7z.001" with the correct format BitFormat::SevenZip (because Auto is not working) the archive opens and can be listed and extracted which is good.
But BitArchiveReader.volumesCount() returns 1 instead of the correct count 3 in my case which forces me into a workaround to count the files on my own for deletion after unpacking.
Steps to reproduce
Create spanned archive in 7z which will result in ".7z.001", ".7z.002", etc.
Open in BitArchiveReader(lib, ".7z.001", BitFormat::SevenZip)
Call volumesCount()
Expected behavior
volumesCount() returns > 1
Relevant compilation output
volumesCount() == 1
Code of Conduct
- By submitting this issue, I agree to follow bit7z's Code of Conduct