Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Zlib
提交
0b166094
T
Third Party Zlib
项目概览
OpenHarmony
/
Third Party Zlib
1 年多 前同步成功
通知
17
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看板
提交
0b166094
编写于
3月 24, 2013
作者:
M
Mark Adler
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zlib 1.2.7.1
上级
f81b79c5
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
67 addition
and
20 deletion
+67
-20
.gitignore
.gitignore
+2
-0
ChangeLog
ChangeLog
+47
-2
deflate.c
deflate.c
+2
-2
gzguts.h
gzguts.h
+1
-1
gzlib.c
gzlib.c
+1
-1
gzread.c
gzread.c
+1
-1
gzwrite.c
gzwrite.c
+1
-1
inffast.c
inffast.c
+1
-1
inftrees.c
inftrees.c
+2
-2
zconf.h
zconf.h
+1
-1
zconf.h.cmakein
zconf.h.cmakein
+1
-1
zconf.h.in
zconf.h.in
+1
-1
zlib.3
zlib.3
+2
-2
zlib.3.pdf
zlib.3.pdf
+0
-0
zlib.h
zlib.h
+3
-3
zutil.h
zutil.h
+1
-1
未找到文件。
.gitignore
浏览文件 @
0b166094
...
@@ -21,3 +21,5 @@
...
@@ -21,3 +21,5 @@
/minigzip64
/minigzip64
/minigzipsh
/minigzipsh
/zlib.pc
/zlib.pc
.DS_Store
ChangeLog
浏览文件 @
0b166094
ChangeLog file for zlib
ChangeLog file for zlib
Changes in 1.2.7.1 (xx May 2012)
Changes in 1.2.7.1 (24 Mar 2013)
-
- Replace use of unsafe string functions with snprintf if available
- Avoid including stddef.h on Windows for Z_SOLO compile [Niessink]
- Fix gzgetc undefine when Z_PREFIX set [Turk]
- Eliminate use of mktemp in Makefile (not always available)
- Fix bug in 'F' mode for gzopen()
- Add inflateGetDictionary() function
- Correct comment in deflate.h
- Use _snprintf for snprintf in Microsoft C
- On Darwin, only use /usr/bin/libtool if libtool is not Apple
- Delete "--version" file if created by "ar --version" [Richard G.]
- Fix configure check for veracity of compiler error return codes
- Fix CMake compilation of static lib for MSVC2010 x64
- Remove unused variable in infback9.c
- Fix argument checks in gzlog_compress() and gzlog_write()
- Clean up the usage of z_const and respect const usage within zlib
- Clean up examples/gzlog.[ch] comparisons of different types
- Avoid shift equal to bits in type (caused endless loop)
- Fix unintialized value bug in gzputc() introduced by const patches
- Fix memory allocation error in examples/zran.c [Nor]
- Fix bug where gzopen(), gzclose() would write an empty file
- Fix bug in gzclose() when gzwrite() runs out of memory
- Check for input buffer malloc failure in examples/gzappend.c
- Add note to contrib/blast to use binary mode in stdio
- Fix comparisons of differently signed integers in contrib/blast
- Check for invalid code length codes in contrib/puff
- Fix serious but very rare decompression bug in inftrees.c
- Update inflateBack() comments, since inflate() can be faster
- Use underscored I/O function names for WINAPI_FAMILY
- Add _tr_flush_bits to the external symbols prefixed by --zprefix
- Add contrib/vstudio/vc10 pre-build step for static only
- Quote --version-script argument in CMakeLists.txt
- Don't specify --version-script on Apple platforms in CMakeLists.txt
- Fix casting error in contrib/testzlib/testzlib.c
- Fix types in contrib/minizip to match result of get_crc_table()
- Simplify contrib/vstudio/vc10 with 'd' suffix
- Add TOP support to win32/Makefile.msc
- Suport i686 and amd64 assembler builds in CMakeLists.txt
- Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h
- Add vc11 and vc12 build files to contrib/vstudio
- Add gzvprintf() as an undocumented function in zlib
- Fix configure for Sun shell
- Remove runtime check in configure for four-byte integer type
- Add casts and consts to ease user conversion to C++
- Add man pages for minizip and miniunzip
- In Makefile uninstall, don't rm if preceding cd fails
- Do not return Z_BUF_ERROR if deflateParam() has nothing to write
Changes in 1.2.7 (2 May 2012)
Changes in 1.2.7 (2 May 2012)
- Replace use of memmove() with a simple copy for portability
- Replace use of memmove() with a simple copy for portability
...
...
deflate.c
浏览文件 @
0b166094
/* deflate.c -- compress data using the deflation algorithm
/* deflate.c -- compress data using the deflation algorithm
* Copyright (C) 1995-201
2
Jean-loup Gailly and Mark Adler
* Copyright (C) 1995-201
3
Jean-loup Gailly and Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
#include "deflate.h"
#include "deflate.h"
const
char
deflate_copyright
[]
=
const
char
deflate_copyright
[]
=
" deflate 1.2.7.1 Copyright 1995-201
2
Jean-loup Gailly and Mark Adler "
;
" deflate 1.2.7.1 Copyright 1995-201
3
Jean-loup Gailly and Mark Adler "
;
/*
/*
If you use the zlib library in a product, an acknowledgment is welcome
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
in the documentation of your product. If for some reason you cannot
...
...
gzguts.h
浏览文件 @
0b166094
/* gzguts.h -- zlib internal header definitions for gz* operations
/* gzguts.h -- zlib internal header definitions for gz* operations
* Copyright (C) 2004, 2005, 2010, 2011, 2012 Mark Adler
* Copyright (C) 2004, 2005, 2010, 2011, 2012
, 2013
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
gzlib.c
浏览文件 @
0b166094
/* gzlib.c -- zlib functions common to reading and writing gzip files
/* gzlib.c -- zlib functions common to reading and writing gzip files
* Copyright (C) 2004, 2010, 2011, 2012 Mark Adler
* Copyright (C) 2004, 2010, 2011, 2012
, 2013
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
gzread.c
浏览文件 @
0b166094
/* gzread.c -- zlib functions for reading gzip files
/* gzread.c -- zlib functions for reading gzip files
* Copyright (C) 2004, 2005, 2010, 2011, 2012 Mark Adler
* Copyright (C) 2004, 2005, 2010, 2011, 2012
, 2013
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
gzwrite.c
浏览文件 @
0b166094
/* gzwrite.c -- zlib functions for writing gzip files
/* gzwrite.c -- zlib functions for writing gzip files
* Copyright (C) 2004, 2005, 2010, 2011, 2012 Mark Adler
* Copyright (C) 2004, 2005, 2010, 2011, 2012
, 2013
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
inffast.c
浏览文件 @
0b166094
/* inffast.c -- fast decoding
/* inffast.c -- fast decoding
* Copyright (C) 1995-2008, 2010 Mark Adler
* Copyright (C) 1995-2008, 2010
, 2013
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
inftrees.c
浏览文件 @
0b166094
/* inftrees.c -- generate Huffman trees for efficient decoding
/* inftrees.c -- generate Huffman trees for efficient decoding
* Copyright (C) 1995-201
2
Mark Adler
* Copyright (C) 1995-201
3
Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
#define MAXBITS 15
#define MAXBITS 15
const
char
inflate_copyright
[]
=
const
char
inflate_copyright
[]
=
" inflate 1.2.7.1 Copyright 1995-201
2
Mark Adler "
;
" inflate 1.2.7.1 Copyright 1995-201
3
Mark Adler "
;
/*
/*
If you use the zlib library in a product, an acknowledgment is welcome
If you use the zlib library in a product, an acknowledgment is welcome
in the documentation of your product. If for some reason you cannot
in the documentation of your product. If for some reason you cannot
...
...
zconf.h
浏览文件 @
0b166094
/* zconf.h -- configuration of the zlib compression library
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-201
2
Jean-loup Gailly.
* Copyright (C) 1995-201
3
Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
zconf.h.cmakein
浏览文件 @
0b166094
/* zconf.h -- configuration of the zlib compression library
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-201
2
Jean-loup Gailly.
* Copyright (C) 1995-201
3
Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
zconf.h.in
浏览文件 @
0b166094
/* zconf.h -- configuration of the zlib compression library
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-201
2
Jean-loup Gailly.
* Copyright (C) 1995-201
3
Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
zlib.3
浏览文件 @
0b166094
.TH ZLIB 3 "
xx May
2012"
.TH ZLIB 3 "
24 Mar
2012"
.SH NAME
.SH NAME
zlib \- compression/decompression library
zlib \- compression/decompression library
.SH SYNOPSIS
.SH SYNOPSIS
...
@@ -126,7 +126,7 @@ Send questions and/or comments to zlib@gzip.org,
...
@@ -126,7 +126,7 @@ Send questions and/or comments to zlib@gzip.org,
or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
.SH AUTHORS
.SH AUTHORS
Version 1.2.7.1
Version 1.2.7.1
Copyright (C) 1995-201
2
Jean-loup Gailly (jloup@gzip.org)
Copyright (C) 1995-201
3
Jean-loup Gailly (jloup@gzip.org)
and Mark Adler (madler@alumni.caltech.edu).
and Mark Adler (madler@alumni.caltech.edu).
.LP
.LP
This software is provided "as-is,"
This software is provided "as-is,"
...
...
zlib.3.pdf
浏览文件 @
0b166094
无法预览此类型文件
zlib.h
浏览文件 @
0b166094
/* zlib.h -- interface of the 'zlib' general purpose compression library
/* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.2.7.1, Ma
y xxth, 2012
version 1.2.7.1, Ma
rch 24th, 2013
Copyright (C) 1995-201
2
Jean-loup Gailly and Mark Adler
Copyright (C) 1995-201
3
Jean-loup Gailly and Mark Adler
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 authors be held liable for any damages
warranty. In no event will the authors be held liable for any damages
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
#define ZLIB_VERSION "1.2.7.1
-motley
"
#define ZLIB_VERSION "1.2.7.1"
#define ZLIB_VERNUM 0x1271
#define ZLIB_VERNUM 0x1271
#define ZLIB_VER_MAJOR 1
#define ZLIB_VER_MAJOR 1
#define ZLIB_VER_MINOR 2
#define ZLIB_VER_MINOR 2
...
...
zutil.h
浏览文件 @
0b166094
/* zutil.h -- internal interface and configuration of the compression library
/* zutil.h -- internal interface and configuration of the compression library
* Copyright (C) 1995-201
2
Jean-loup Gailly.
* Copyright (C) 1995-201
3
Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
* For conditions of distribution and use, see copyright notice in zlib.h
*/
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录