mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Test case: reading zip and DLD parsing
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3fb017a1c3
commit
0160e58e7d
4 changed files with 15 additions and 1 deletions
2
file.c
2
file.c
|
@ -85,7 +85,7 @@ static void zip_read(struct zip_file *file, const char *filename)
|
|||
free(mem);
|
||||
}
|
||||
|
||||
static int try_to_open_zip(const char *filename, struct memblock *mem)
|
||||
int try_to_open_zip(const char *filename, struct memblock *mem)
|
||||
{
|
||||
int success = 0;
|
||||
/* Grr. libzip needs to re-open the file, it can't take a buffer */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue