未验证 提交 9ab2ba23 编写于 作者: O openharmony_ci 提交者: Gitee

!22 zlib性能优化

Merge pull request !22 from 董开兴/zlib_perf
...@@ -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.
先完成此消息的编辑!
想要评论请 注册