Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#3408
  • Loading branch information
alabuzhev committed Mar 15, 2017
1 parent 28bc186 commit 4a21084
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions plugins/arclite/changelog
@@ -1,3 +1,7 @@
drkns 15.03.2017 12:29:40 +0000 - build 252

1. 0003408: Arclite не закрывает файл после неуспешного распознавания формата

w17 05.03.2017 15:05:58 +0300 - build 251

1. 0003399: ошибка при модифицировании tgz (tar+gzip) архива -- уточнение b245
Expand Down
3 changes: 2 additions & 1 deletion plugins/arclite/open.cpp
Expand Up @@ -522,7 +522,8 @@ void Archive::open(const OpenOptions& options, Archives& archives) {
}
else if (arc_entry->sig_pos >= skip_header) {
archive->arc_info.set_size(arc_info.size() - arc_entry->sig_pos);
opened = archive->open(new ArchiveSubStream(stream, arc_entry->sig_pos), arc_entry->type);
ComObject<IInStream> substream(new ArchiveSubStream(stream, arc_entry->sig_pos));
opened = archive->open(substream, arc_entry->type);
if (opened)
archive->base_stream = stream;
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/arclite/project.ini
Expand Up @@ -2,4 +2,4 @@
MODULE = arclite
VER_MAJOR = 3
VER_MINOR = 0
VER_BUILD = 251
VER_BUILD = 252

0 comments on commit 4a21084

Please sign in to comment.