Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Zlib
提交
b8522e02
T
Third Party Zlib
项目概览
OpenHarmony
/
Third Party Zlib
大约 1 年 前同步成功
通知
16
Star
112
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Zlib
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b8522e02
编写于
10月 24, 2012
作者:
M
Mark Adler
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add note to contrib/blast to use binary mode in stdio.
上级
e69a9cee
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
9 addition
and
4 deletion
+9
-4
contrib/blast/blast.c
contrib/blast/blast.c
+3
-2
contrib/blast/blast.h
contrib/blast/blast.h
+6
-2
未找到文件。
contrib/blast/blast.c
浏览文件 @
b8522e02
/* blast.c
/* blast.c
* Copyright (C) 2003 Mark Adler
* Copyright (C) 2003
, 2012
Mark Adler
* For conditions of distribution and use, see copyright notice in blast.h
* For conditions of distribution and use, see copyright notice in blast.h
* version 1.
1, 16 Feb 2003
* version 1.
2, 24 Oct 2012
*
*
* blast.c decompresses data compressed by the PKWare Compression Library.
* blast.c decompresses data compressed by the PKWare Compression Library.
* This function provides functionality similar to the explode() function of
* This function provides functionality similar to the explode() function of
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
*
*
* 1.0 12 Feb 2003 - First version
* 1.0 12 Feb 2003 - First version
* 1.1 16 Feb 2003 - Fixed distance check for > 4 GB uncompressed data
* 1.1 16 Feb 2003 - Fixed distance check for > 4 GB uncompressed data
* 1.2 24 Oct 2012 - Add note about using binary mode in stdio
*/
*/
#include <setjmp.h>
/* for setjmp(), longjmp(), and jmp_buf */
#include <setjmp.h>
/* for setjmp(), longjmp(), and jmp_buf */
...
...
contrib/blast/blast.h
浏览文件 @
b8522e02
/* blast.h -- interface for blast.c
/* blast.h -- interface for blast.c
Copyright (C) 2003 Mark Adler
Copyright (C) 2003
, 2012
Mark Adler
version 1.
1, 16 Feb 2003
version 1.
2, 24 Oct 2012
This software is provided 'as-is', without any express or implied
This software is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
warranty. In no event will the author be held liable for any damages
...
@@ -28,6 +28,10 @@
...
@@ -28,6 +28,10 @@
* that library. (Note: PKWare overused the "implode" verb, and the format
* that library. (Note: PKWare overused the "implode" verb, and the format
* used by their library implode() function is completely different and
* used by their library implode() function is completely different and
* incompatible with the implode compression method supported by PKZIP.)
* incompatible with the implode compression method supported by PKZIP.)
*
* The binary mode for stdio functions should be used to assure that the
* compressed data is not corrupted when read or written. For example:
* fopen(..., "rb") and fopen(..., "wb").
*/
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录