Fix multi-part RAR: get first stream via callback, track current volume name
Two bugs in SevenZipVolumeCallback caused multi-part RAR extraction to fail: 1. getProperty(NAME) always returned firstFileName instead of tracking the last opened volume name. 7z-JBinding needs this to compute subsequent volume filenames. 2. The first IInStream was created separately instead of through the callback's getStream() method, so the volume name tracker was not properly initialized. Verified with real multi-part RAR5 test archives (3 parts, WinRAR 7.01). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
26bf675a41
commit
93d54c8f84
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user