aboutsummaryrefslogtreecommitdiff
path: root/zlib/zlib.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-02-20 12:52:22 +0000
committerNick Clifton <nickc@redhat.com>2017-02-20 12:52:22 +0000
commit9c7e3b0e6b5234c39d1269fdf1a1413e2a734a79 (patch)
tree6741c1e41fc9409262816a02b2e3ee366a942e7c /zlib/zlib.h
parent0db8980cc0ee05727c11f8b7c6674137a4d5de4e (diff)
downloadbinutils-9c7e3b0e6b5234c39d1269fdf1a1413e2a734a79.zip
binutils-9c7e3b0e6b5234c39d1269fdf1a1413e2a734a79.tar.gz
binutils-9c7e3b0e6b5234c39d1269fdf1a1413e2a734a79.tar.bz2
Sync ZLIB with FSF GCC sources, bringing in version 1.2.11.
- Fix deflate stored bug when pulling last block from window - Permit immediate deflateParams changes before any deflate input
Diffstat (limited to 'zlib/zlib.h')
-rw-r--r--zlib/zlib.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/zlib/zlib.h b/zlib/zlib.h
index dc90dc8..f09cdaf 100644
--- a/zlib/zlib.h
+++ b/zlib/zlib.h
@@ -1,5 +1,5 @@
/* zlib.h -- interface of the 'zlib' general purpose compression library
- version 1.2.10, January 2nd, 2017
+ version 1.2.11, January 15th, 2017
Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
@@ -37,11 +37,11 @@
extern "C" {
#endif
-#define ZLIB_VERSION "1.2.10"
-#define ZLIB_VERNUM 0x12a0
+#define ZLIB_VERSION "1.2.11"
+#define ZLIB_VERNUM 0x12b0
#define ZLIB_VER_MAJOR 1
#define ZLIB_VER_MINOR 2
-#define ZLIB_VER_REVISION 10
+#define ZLIB_VER_REVISION 11
#define ZLIB_VER_SUBREVISION 0
/*
@@ -712,10 +712,11 @@ ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
used to switch between compression and straight copy of the input data, or
to switch to a different kind of input data requiring a different strategy.
If the compression approach (which is a function of the level) or the
- strategy is changed, then the input available so far is compressed with the
- old level and strategy using deflate(strm, Z_BLOCK). There are three
- approaches for the compression levels 0, 1..3, and 4..9 respectively. The
- new level and strategy will take effect at the next call of deflate().
+ strategy is changed, and if any input has been consumed in a previous
+ deflate() call, then the input available so far is compressed with the old
+ level and strategy using deflate(strm, Z_BLOCK). There are three approaches
+ for the compression levels 0, 1..3, and 4..9 respectively. The new level
+ and strategy will take effect at the next call of deflate().
If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does
not have enough output space to complete, then the parameter change will not