Try to open ZIP files
Let's just give a try to opening ZIP files. Especially since we have one of them in the test dives directory. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9602bd616a
commit
140d2e4165
4
file.c
4
file.c
@ -233,6 +233,10 @@ static int open_by_filename(const char *filename, const char *fmt, struct memblo
|
||||
if (!strcasecmp(fmt, "DLD"))
|
||||
return try_to_open_zip(filename, mem, error);
|
||||
|
||||
/* Give a shot for plain ZIP */
|
||||
if (!strcasecmp(fmt, "ZIP"))
|
||||
return try_to_open_zip(filename, mem, error);
|
||||
|
||||
#if ONCE_COCHRAN_IS_SUPPORTED
|
||||
/* Truly nasty intentionally obfuscated Cochran Anal software */
|
||||
if (!strcasecmp(fmt, "CAN"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user