Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Zlib
提交
59ca2179
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看板
提交
59ca2179
编写于
9月 09, 2011
作者:
M
Mark Adler
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zlib 1.2.4-pre2
上级
67cc20d0
变更
14
显示空白变更内容
内联
并排
Showing
14 changed file
with
22 addition
and
19 deletion
+22
-19
ChangeLog
ChangeLog
+6
-1
Makefile
Makefile
+1
-1
Makefile.in
Makefile.in
+5
-4
configure
configure
+3
-0
contrib/infback9/inftree9.c
contrib/infback9/inftree9.c
+1
-1
contrib/inflate86/inffas86.c
contrib/inflate86/inffas86.c
+1
-1
contrib/masmx86/match686.obj
contrib/masmx86/match686.obj
+0
-0
gzwrite.c
gzwrite.c
+1
-1
inftrees.c
inftrees.c
+1
-1
make_vms.com
make_vms.com
+1
-1
win32/zlib.def
win32/zlib.def
+0
-6
zlib.3
zlib.3
+1
-1
zlib.3.pdf
zlib.3.pdf
+0
-0
zlib.h
zlib.h
+1
-1
未找到文件。
ChangeLog
浏览文件 @
59ca2179
ChangeLog file for zlib
Changes in 1.2.4 (1
1
Mar 2010)
Changes in 1.2.4 (1
3
Mar 2010)
- Fix VER3 extraction in configure for no fourth subversion
- Update zlib.3, add docs to Makefile.in to make .pdf out of it
- Add zlib.3.pdf to distribution
...
...
@@ -25,6 +25,11 @@ Changes in 1.2.4 (11 Mar 2010)
- Update win32/Makefile.msc, add ZLIB_VER_SUBREVISION [Rowe]
- Fix memory leaks in gzclose_r() and gzclose_w(), file leak in gz_open()
- Add contrib/gcc_gvmat64 for longest_match and inflate_fast [Vollant]
- Remove *64 functions from win32/zlib.def (they're not 64-bit yet)
- Fix bug in void-returning vsprintf() case in gzwrite.c
- Fix name change from inflate.h in contrib/inflate86/inffas86.c
- Check if temporary file exists before removing in make_vms.com [Zinser]
- Fix make install and uninstall for --static option
Changes in 1.2.3.9 (21 Feb 2010)
- Expunge gzio.c
...
...
Makefile
浏览文件 @
59ca2179
all
:
-
@echo
"
U
se ./configure first. Thank you."
-
@echo
"
Please u
se ./configure first. Thank you."
distclean
:
make
-f
Makefile.in distclean
Makefile.in
浏览文件 @
59ca2179
...
...
@@ -164,9 +164,10 @@ install-libs: $(LIBS)
-
@if
[
!
-d
$(DESTDIR)$(man3dir)
]
;
then
mkdir
-p
$(DESTDIR)$(man3dir)
;
fi
-
@if
[
!
-d
$(DESTDIR)$(pkgconfigdir)
]
;
then
mkdir
-p
$(DESTDIR)$(pkgconfigdir)
;
fi
cp
$(LIBS)
$(DESTDIR)$(libdir)
cd
$(DESTDIR)$(libdir)
;
chmod
755
$(SHAREDLIB)
;
chmod
u
=
rw,go
=
r
$(STATICLIB)
cd
$(DESTDIR)$(libdir)
;
chmod
u
=
rw,go
=
r
$(STATICLIB)
-
@
(
cd
$(DESTDIR)$(libdir)
;
$(RANLIB)
libz.a
||
true
)
>
/dev/null 2>&1
cd
$(DESTDIR)$(libdir)
;
if
test
-f
$(SHAREDLIBV)
;
then
\
-
@cd
$(DESTDIR)$(libdir)
;
if
test
"
$(SHAREDLIBV)
"
-a
-f
$(SHAREDLIBV)
;
then
\
chmod
755
$(SHAREDLIBV)
;
\
rm
-f
$(SHAREDLIB)
$(SHAREDLIBM)
;
\
ln
-s
$(SHAREDLIBV)
$(SHAREDLIB)
;
\
ln
-s
$(SHAREDLIBV)
$(SHAREDLIBM)
;
\
...
...
@@ -187,7 +188,7 @@ install: install-libs
uninstall
:
cd
$(DESTDIR)$(includedir)
;
rm
-f
zlib.h zconf.h
cd
$(DESTDIR)$(libdir)
;
rm
-f
libz.a
;
\
if
test
-f
$(SHAREDLIBV)
;
then
\
if
test
"
$(SHAREDLIBV)
"
-a
-f
$(SHAREDLIBV)
;
then
\
rm
-f
$(SHAREDLIBV)
$(SHAREDLIB)
$(SHAREDLIBM)
;
\
fi
cd
$(DESTDIR)$(man3dir)
;
rm
-f
zlib.3
...
...
@@ -218,7 +219,7 @@ maintainer-clean: distclean
distclean
:
clean zconf docs
rm
-f
Makefile zlib.pc
-
@rm
-f
.DS_Store
-
@printf
'all:\n\t-@echo "
U
se ./configure first. Thank you."\n'
>
Makefile
-
@printf
'all:\n\t-@echo "
Please u
se ./configure first. Thank you."\n'
>
Makefile
-
@printf
'\ndistclean:\n\tmake -f Makefile.in distclean\n'
>>
Makefile
-
@touch
-r
Makefile.in Makefile
...
...
configure
浏览文件 @
59ca2179
...
...
@@ -215,6 +215,9 @@ if test $shared -eq 0; then
LDSHARED
=
"
$CC
"
ALL
=
"static"
TEST
=
"all teststatic"
SHAREDLIB
=
""
SHAREDLIBV
=
""
SHAREDLIBM
=
""
echo
Building static library
$STATICLIB
version
$VER
with
$CC
.
else
ALL
=
"static shared"
...
...
contrib/infback9/inftree9.c
浏览文件 @
59ca2179
...
...
@@ -64,7 +64,7 @@ unsigned short FAR *work;
static
const
unsigned
short
lext
[
31
]
=
{
/* Length codes 257..285 extra */
128
,
128
,
128
,
128
,
128
,
128
,
128
,
128
,
129
,
129
,
129
,
129
,
130
,
130
,
130
,
130
,
131
,
131
,
131
,
131
,
132
,
132
,
132
,
132
,
133
,
133
,
133
,
133
,
144
,
66
,
199
};
133
,
133
,
133
,
133
,
144
,
198
,
71
};
static
const
unsigned
short
dbase
[
32
]
=
{
/* Distance codes 0..31 base */
1
,
2
,
3
,
4
,
5
,
7
,
9
,
13
,
17
,
25
,
33
,
49
,
65
,
97
,
129
,
193
,
257
,
385
,
513
,
769
,
1025
,
1537
,
2049
,
3073
,
...
...
contrib/inflate86/inffas86.c
浏览文件 @
59ca2179
...
...
@@ -113,7 +113,7 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
ar
.
beg
=
ar
.
out
-
(
start
-
strm
->
avail_out
);
ar
.
end
=
ar
.
out
+
(
strm
->
avail_out
-
PAD_AVAIL_OUT
);
ar
.
wsize
=
state
->
wsize
;
ar
.
write
=
state
->
w
rite
;
ar
.
write
=
state
->
w
next
;
ar
.
window
=
state
->
window
;
ar
.
hold
=
state
->
hold
;
ar
.
bits
=
state
->
bits
;
...
...
contrib/masmx86/match686.obj
已删除
100644 → 0
浏览文件 @
67cc20d0
文件已删除
gzwrite.c
浏览文件 @
59ca2179
...
...
@@ -318,7 +318,7 @@ int ZEXPORTVA gzprintf (gzFile file, const char *format, ...)
# ifdef HAS_vsprintf_void
(
void
)
vsprintf
(
state
->
in
,
format
,
va
);
va_end
(
va
);
for
(
len
=
0
;
len
<
s
tate
->
in
;
len
++
)
for
(
len
=
0
;
len
<
s
ize
;
len
++
)
if
(
state
->
in
[
len
]
==
0
)
break
;
# else
len
=
vsprintf
(
state
->
in
,
format
,
va
);
...
...
inftrees.c
浏览文件 @
59ca2179
...
...
@@ -62,7 +62,7 @@ unsigned short FAR *work;
35
,
43
,
51
,
59
,
67
,
83
,
99
,
115
,
131
,
163
,
195
,
227
,
258
,
0
,
0
};
static
const
unsigned
short
lext
[
31
]
=
{
/* Length codes 257..285 extra */
16
,
16
,
16
,
16
,
16
,
16
,
16
,
16
,
17
,
17
,
17
,
17
,
18
,
18
,
18
,
18
,
19
,
19
,
19
,
19
,
20
,
20
,
20
,
20
,
21
,
21
,
21
,
21
,
16
,
66
,
199
};
19
,
19
,
19
,
19
,
20
,
20
,
20
,
20
,
21
,
21
,
21
,
21
,
16
,
198
,
71
};
static
const
unsigned
short
dbase
[
32
]
=
{
/* Distance codes 0..29 base */
1
,
2
,
3
,
4
,
5
,
7
,
9
,
13
,
17
,
25
,
33
,
49
,
65
,
97
,
129
,
193
,
257
,
385
,
513
,
769
,
1025
,
1537
,
2049
,
3073
,
4097
,
6145
,
...
...
make_vms.com
浏览文件 @
59ca2179
...
...
@@ -134,7 +134,7 @@ $ write aconf "#define ftello64 ftell"
$ write aconf "#endif"
$ close aconf_in
$ close aconf
$ delete 'th';*
$
if f$search("''th'") .nes. "" then
delete 'th';*
$! Build the thing plain or with mms
$!
$ write sys$output "Compiling Zlib sources ..."
...
...
win32/zlib.def
浏览文件 @
59ca2179
...
...
@@ -68,12 +68,6 @@ EXPORTS
inflateInit_
inflateInit2_
inflateBackInit_
gzopen64
gzseek64
gztell64
gzoffset64
adler32_combine64
crc32_combine64
zError
inflateSyncPoint
get_crc_table
...
...
zlib.3
浏览文件 @
59ca2179
.TH ZLIB 3 "1
1
March 2010"
.TH ZLIB 3 "1
3
March 2010"
.SH NAME
zlib \- compression/decompression library
.SH SYNOPSIS
...
...
zlib.3.pdf
浏览文件 @
59ca2179
无法预览此类型文件
zlib.h
浏览文件 @
59ca2179
/* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.2.
3.9, Mar 11
th, 2010
version 1.2.
4, Mar 13
th, 2010
Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录