zlib 1.2.4-pre2
This commit is contained in:
parent
67cc20d004
commit
59ca2179ff
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
ChangeLog file for zlib
|
ChangeLog file for zlib
|
||||||
|
|
||||||
Changes in 1.2.4 (11 Mar 2010)
|
Changes in 1.2.4 (13 Mar 2010)
|
||||||
- Fix VER3 extraction in configure for no fourth subversion
|
- Fix VER3 extraction in configure for no fourth subversion
|
||||||
- Update zlib.3, add docs to Makefile.in to make .pdf out of it
|
- Update zlib.3, add docs to Makefile.in to make .pdf out of it
|
||||||
- Add zlib.3.pdf to distribution
|
- 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]
|
- Update win32/Makefile.msc, add ZLIB_VER_SUBREVISION [Rowe]
|
||||||
- Fix memory leaks in gzclose_r() and gzclose_w(), file leak in gz_open()
|
- 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]
|
- 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)
|
Changes in 1.2.3.9 (21 Feb 2010)
|
||||||
- Expunge gzio.c
|
- Expunge gzio.c
|
||||||
|
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
all:
|
all:
|
||||||
-@echo "Use ./configure first. Thank you."
|
-@echo "Please use ./configure first. Thank you."
|
||||||
|
|
||||||
distclean:
|
distclean:
|
||||||
make -f Makefile.in distclean
|
make -f Makefile.in distclean
|
||||||
|
@ -164,9 +164,10 @@ install-libs: $(LIBS)
|
|||||||
-@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi
|
-@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi
|
||||||
-@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
|
-@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
|
||||||
cp $(LIBS) $(DESTDIR)$(libdir)
|
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); $(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); \
|
rm -f $(SHAREDLIB) $(SHAREDLIBM); \
|
||||||
ln -s $(SHAREDLIBV) $(SHAREDLIB); \
|
ln -s $(SHAREDLIBV) $(SHAREDLIB); \
|
||||||
ln -s $(SHAREDLIBV) $(SHAREDLIBM); \
|
ln -s $(SHAREDLIBV) $(SHAREDLIBM); \
|
||||||
@ -187,7 +188,7 @@ install: install-libs
|
|||||||
uninstall:
|
uninstall:
|
||||||
cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h
|
cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h
|
||||||
cd $(DESTDIR)$(libdir); rm -f libz.a; \
|
cd $(DESTDIR)$(libdir); rm -f libz.a; \
|
||||||
if test -f $(SHAREDLIBV); then \
|
if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
|
||||||
rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \
|
rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \
|
||||||
fi
|
fi
|
||||||
cd $(DESTDIR)$(man3dir); rm -f zlib.3
|
cd $(DESTDIR)$(man3dir); rm -f zlib.3
|
||||||
@ -218,7 +219,7 @@ maintainer-clean: distclean
|
|||||||
distclean: clean zconf docs
|
distclean: clean zconf docs
|
||||||
rm -f Makefile zlib.pc
|
rm -f Makefile zlib.pc
|
||||||
-@rm -f .DS_Store
|
-@rm -f .DS_Store
|
||||||
-@printf 'all:\n\t-@echo "Use ./configure first. Thank you."\n' > Makefile
|
-@printf 'all:\n\t-@echo "Please use ./configure first. Thank you."\n' > Makefile
|
||||||
-@printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile
|
-@printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile
|
||||||
-@touch -r Makefile.in Makefile
|
-@touch -r Makefile.in Makefile
|
||||||
|
|
||||||
|
3
configure
vendored
3
configure
vendored
@ -215,6 +215,9 @@ if test $shared -eq 0; then
|
|||||||
LDSHARED="$CC"
|
LDSHARED="$CC"
|
||||||
ALL="static"
|
ALL="static"
|
||||||
TEST="all teststatic"
|
TEST="all teststatic"
|
||||||
|
SHAREDLIB=""
|
||||||
|
SHAREDLIBV=""
|
||||||
|
SHAREDLIBM=""
|
||||||
echo Building static library $STATICLIB version $VER with $CC.
|
echo Building static library $STATICLIB version $VER with $CC.
|
||||||
else
|
else
|
||||||
ALL="static shared"
|
ALL="static shared"
|
||||||
|
@ -64,7 +64,7 @@ unsigned short FAR *work;
|
|||||||
static const unsigned short lext[31] = { /* Length codes 257..285 extra */
|
static const unsigned short lext[31] = { /* Length codes 257..285 extra */
|
||||||
128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
|
128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
|
||||||
130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
|
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 */
|
static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
|
||||||
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
|
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
|
||||||
65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
|
65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
|
||||||
|
@ -113,7 +113,7 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
|
|||||||
ar.beg = ar.out - (start - strm->avail_out);
|
ar.beg = ar.out - (start - strm->avail_out);
|
||||||
ar.end = ar.out + (strm->avail_out - PAD_AVAIL_OUT);
|
ar.end = ar.out + (strm->avail_out - PAD_AVAIL_OUT);
|
||||||
ar.wsize = state->wsize;
|
ar.wsize = state->wsize;
|
||||||
ar.write = state->write;
|
ar.write = state->wnext;
|
||||||
ar.window = state->window;
|
ar.window = state->window;
|
||||||
ar.hold = state->hold;
|
ar.hold = state->hold;
|
||||||
ar.bits = state->bits;
|
ar.bits = state->bits;
|
||||||
|
Binary file not shown.
@ -318,7 +318,7 @@ int ZEXPORTVA gzprintf (gzFile file, const char *format, ...)
|
|||||||
# ifdef HAS_vsprintf_void
|
# ifdef HAS_vsprintf_void
|
||||||
(void)vsprintf(state->in, format, va);
|
(void)vsprintf(state->in, format, va);
|
||||||
va_end(va);
|
va_end(va);
|
||||||
for (len = 0; len < state->in; len++)
|
for (len = 0; len < size; len++)
|
||||||
if (state->in[len] == 0) break;
|
if (state->in[len] == 0) break;
|
||||||
# else
|
# else
|
||||||
len = vsprintf(state->in, format, va);
|
len = vsprintf(state->in, format, va);
|
||||||
|
@ -62,7 +62,7 @@ unsigned short FAR *work;
|
|||||||
35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
|
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 */
|
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,
|
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 */
|
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,
|
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,
|
257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
|
||||||
|
@ -134,7 +134,7 @@ $ write aconf "#define ftello64 ftell"
|
|||||||
$ write aconf "#endif"
|
$ write aconf "#endif"
|
||||||
$ close aconf_in
|
$ close aconf_in
|
||||||
$ close aconf
|
$ close aconf
|
||||||
$ delete 'th';*
|
$ if f$search("''th'") .nes. "" then delete 'th';*
|
||||||
$! Build the thing plain or with mms
|
$! Build the thing plain or with mms
|
||||||
$!
|
$!
|
||||||
$ write sys$output "Compiling Zlib sources ..."
|
$ write sys$output "Compiling Zlib sources ..."
|
||||||
|
@ -68,12 +68,6 @@ EXPORTS
|
|||||||
inflateInit_
|
inflateInit_
|
||||||
inflateInit2_
|
inflateInit2_
|
||||||
inflateBackInit_
|
inflateBackInit_
|
||||||
gzopen64
|
|
||||||
gzseek64
|
|
||||||
gztell64
|
|
||||||
gzoffset64
|
|
||||||
adler32_combine64
|
|
||||||
crc32_combine64
|
|
||||||
zError
|
zError
|
||||||
inflateSyncPoint
|
inflateSyncPoint
|
||||||
get_crc_table
|
get_crc_table
|
||||||
|
2
zlib.3
2
zlib.3
@ -1,4 +1,4 @@
|
|||||||
.TH ZLIB 3 "11 March 2010"
|
.TH ZLIB 3 "13 March 2010"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
zlib \- compression/decompression library
|
zlib \- compression/decompression library
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
BIN
zlib.3.pdf
BIN
zlib.3.pdf
Binary file not shown.
2
zlib.h
2
zlib.h
@ -1,5 +1,5 @@
|
|||||||
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
||||||
version 1.2.3.9, Mar 11th, 2010
|
version 1.2.4, Mar 13th, 2010
|
||||||
|
|
||||||
Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
|
Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user