import zlib-1.2.11-15.el8

This commit is contained in:
CentOS Sources 2020-07-14 02:08:57 +00:00 committed by Andrew Lukoshko
parent ca771ae6ec
commit 8e96ef7ece
2 changed files with 5 additions and 2 deletions

View File

@ -273,7 +273,7 @@ index 9b09718..9284483 100644
- if ((strategy != s->strategy || func != configuration_table[level].func) &&
- s->high_water) {
+ if ((strategy != s->strategy || func != configuration_table[level].func ||
+ hook_flush != Z_NO_FLUSH) && s->last_flush != -2) {
+ hook_flush != Z_NO_FLUSH) && s->high_water) {
/* Flush the last buffer: */
- int err = deflate(strm, Z_BLOCK);
+ int err = deflate(strm, RANK(hook_flush) > RANK(Z_BLOCK) ?

View File

@ -3,7 +3,7 @@
Name: zlib
Version: 1.2.11
Release: 14%{?dist}
Release: 15%{?dist}
Summary: The compression and decompression library
# /contrib/dotzlib/ have Boost license
License: zlib and Boost
@ -162,6 +162,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%changelog
* Mon Jun 15 2020 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-15
- Another fix for Z hardware-accelerated deflate for s390x architectures
* Mon May 25 2020 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-14
- Fix for Z hardware-accelerated deflate for s390x architectures