From 1baf26db7bf42aeb61cb7c9aadce4b101fbf33fa Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Wed, 6 Jul 2011 23:23:46 +0200 Subject: [PATCH] Do not check file size coherency on multi-parts rar. Some tools seem to generate multi-parts rar where only the first chunk contains the actual file size. --- modules/access/rar/rar.c | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/access/rar/rar.c b/modules/access/rar/rar.c index 4079d815b0..c2f605e895 100644 --- a/modules/access/rar/rar.c +++ b/modules/access/rar/rar.c @@ -201,7 +201,6 @@ static int SkipFile(stream_t *s, int *count, rar_file_t ***file, const rar_block if (current && (current->is_complete || - current->size != file_size || strcmp(current->name, name) || (hdr->flags & RAR_BLOCK_FILE_HAS_PREVIOUS) == 0)) current = NULL; -- 2.11.4.GIT