提交 ff57d7ec 编写于 作者: D dongkaixing

support zip64 file open and improve mem performance

Signed-off-by: Ndongkaixing <dongkaixing2@huawei.com>
上级 339fc695
...@@ -838,9 +838,9 @@ extern unzFile ZEXPORT unzOpenFile (FILE *inputfile) ...@@ -838,9 +838,9 @@ extern unzFile ZEXPORT unzOpenFile (FILE *inputfile)
return NULL; return NULL;
} }
zlib_filefunc_def pzlib_filefunc32_def; us.z_filefunc.zseek32_file = NULL;
fill_fopen_filefunc(&pzlib_filefunc32_def); us.z_filefunc.ztell32_file = NULL;
fill_zlib_filefunc64_32_def_from_filefunc32(&us.z_filefunc, &pzlib_filefunc32_def); fill_fopen64_filefunc(&us.z_filefunc.zfile_func64);
us.is64bitOpenFunction = 0; us.is64bitOpenFunction = 0;
us.filestream = inputfile; us.filestream = inputfile;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册