Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Zlib
提交
3d85f02a
T
Third Party Zlib
项目概览
OpenHarmony
/
Third Party Zlib
接近 2 年 前同步成功
通知
18
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看板
提交
3d85f02a
编写于
12月 18, 2011
作者:
M
Mark Adler
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Restore gzgetc function for binary compatibility.
Newly compiled applications will use the gzgetc macro.
上级
df60b507
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
16 addition
and
5 deletion
+16
-5
as400/bndsrc
as400/bndsrc
+1
-0
as400/zlib.inc
as400/zlib.inc
+3
-0
contrib/vstudio/vc10/zlibvc.def
contrib/vstudio/vc10/zlibvc.def
+1
-0
contrib/vstudio/vc9/zlibvc.def
contrib/vstudio/vc9/zlibvc.def
+1
-0
gzread.c
gzread.c
+8
-4
win32/zlib.def
win32/zlib.def
+1
-0
zlib.h
zlib.h
+1
-1
未找到文件。
as400/bndsrc
浏览文件 @
3d85f02a
...
@@ -53,6 +53,7 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
...
@@ -53,6 +53,7 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
EXPORT SYMBOL("gzputs")
EXPORT SYMBOL("gzputs")
EXPORT SYMBOL("gzgets")
EXPORT SYMBOL("gzgets")
EXPORT SYMBOL("gzputc")
EXPORT SYMBOL("gzputc")
EXPORT SYMBOL("gzgetc")
EXPORT SYMBOL("gzflush")
EXPORT SYMBOL("gzflush")
EXPORT SYMBOL("gzseek")
EXPORT SYMBOL("gzseek")
EXPORT SYMBOL("gzrewind")
EXPORT SYMBOL("gzrewind")
...
...
as400/zlib.inc
浏览文件 @
3d85f02a
...
@@ -186,6 +186,9 @@
...
@@ -186,6 +186,9 @@
D
file
value
like
(
gzFile
)
File
pointer
D
file
value
like
(
gzFile
)
File
pointer
D
c
10
I
0
value
Character
to
write
D
c
10
I
0
value
Character
to
write
*
*
D
gzgetc
PR
10
i
0
extproc
(
'gzgetc'
)
D
file
value
like
(
gzFile
)
File
pointer
*
D
gzgetc_
PR
10
i
0
extproc
(
'gzgetc_'
)
D
gzgetc_
PR
10
i
0
extproc
(
'gzgetc_'
)
D
file
value
like
(
gzFile
)
File
pointer
D
file
value
like
(
gzFile
)
File
pointer
*
*
...
...
contrib/vstudio/vc10/zlibvc.def
浏览文件 @
3d85f02a
...
@@ -33,6 +33,7 @@ EXPORTS
...
@@ -33,6 +33,7 @@ EXPORTS
zlibVersion @27
zlibVersion @27
gzprintf @28
gzprintf @28
gzputc @29
gzputc @29
gzgetc @30
gzseek @31
gzseek @31
gzrewind @32
gzrewind @32
gztell @33
gztell @33
...
...
contrib/vstudio/vc9/zlibvc.def
浏览文件 @
3d85f02a
...
@@ -33,6 +33,7 @@ EXPORTS
...
@@ -33,6 +33,7 @@ EXPORTS
zlibVersion @27
zlibVersion @27
gzprintf @28
gzprintf @28
gzputc @29
gzputc @29
gzgetc @30
gzseek @31
gzseek @31
gzrewind @32
gzrewind @32
gztell @33
gztell @33
...
...
gzread.c
浏览文件 @
3d85f02a
...
@@ -390,10 +390,7 @@ int ZEXPORT gzgetc_(file)
...
@@ -390,10 +390,7 @@ int ZEXPORT gzgetc_(file)
(
state
->
err
!=
Z_OK
&&
state
->
err
!=
Z_BUF_ERROR
))
(
state
->
err
!=
Z_OK
&&
state
->
err
!=
Z_BUF_ERROR
))
return
-
1
;
return
-
1
;
/* try output buffer (no need to check for skip request) -- while
/* try output buffer (no need to check for skip request) */
this check really isn't required since the gzgetc() macro has
already determined that x.have is zero, we leave it in for
completeness. */
if
(
state
->
x
.
have
)
{
if
(
state
->
x
.
have
)
{
state
->
x
.
have
--
;
state
->
x
.
have
--
;
state
->
x
.
pos
++
;
state
->
x
.
pos
++
;
...
@@ -405,6 +402,13 @@ int ZEXPORT gzgetc_(file)
...
@@ -405,6 +402,13 @@ int ZEXPORT gzgetc_(file)
return
ret
<
1
?
-
1
:
buf
[
0
];
return
ret
<
1
?
-
1
:
buf
[
0
];
}
}
#undef gzgetc
int
ZEXPORT
gzgetc
(
file
)
gzFile
file
;
{
return
gzgetc_
(
file
);
}
/* -- see zlib.h -- */
/* -- see zlib.h -- */
int
ZEXPORT
gzungetc
(
c
,
file
)
int
ZEXPORT
gzungetc
(
c
,
file
)
int
c
;
int
c
;
...
...
win32/zlib.def
浏览文件 @
3d85f02a
...
@@ -42,6 +42,7 @@ EXPORTS
...
@@ -42,6 +42,7 @@ EXPORTS
gzputs
gzputs
gzgets
gzgets
gzputc
gzputc
gzgetc
gzungetc
gzungetc
gzflush
gzflush
gzseek
gzseek
...
...
zlib.h
浏览文件 @
3d85f02a
...
@@ -1363,8 +1363,8 @@ ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c));
...
@@ -1363,8 +1363,8 @@ ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c));
returns the value that was written, or -1 in case of error.
returns the value that was written, or -1 in case of error.
*/
*/
/*
ZEXTERN
int
ZEXPORT
gzgetc
OF
((
gzFile
file
));
ZEXTERN
int
ZEXPORT
gzgetc
OF
((
gzFile
file
));
/*
Reads one byte from the compressed file. gzgetc returns this byte or -1
Reads one byte from the compressed file. gzgetc returns this byte or -1
in case of end of file or error. This is implemented as a macro for speed.
in case of end of file or error. This is implemented as a macro for speed.
As such, it does not do all of the checking the other functions do. I.e.
As such, it does not do all of the checking the other functions do. I.e.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录