Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #195 from fgimian/fix-multipart-rar5-extraction
Browse files Browse the repository at this point in the history
Always provide streams which are at the beginning of the file.
  • Loading branch information
squid-box committed Jul 2, 2023
2 parents bfdda95 + 4e63b78 commit 7653d24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SevenZip/ArchiveOpenCallback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public int GetStream(string name, out IInStream inStream)
_volumeFileNames.Add(name);
if (_wrappers.ContainsKey(name))
{
_wrappers[name].Seek(0, SeekOrigin.Begin, IntPtr.Zero);
inStream = _wrappers[name];
}
else
Expand Down

0 comments on commit 7653d24

Please sign in to comment.