From 28d105659f00115c11cf972e123e43f54c71b7a7 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 2 May 2023 08:03:54 +0000 Subject: [PATCH] Sync with upstream Update some links in the README, remove a duplicate word in a zlib.h doc comment. The only code change is guarded by #if defined(_WIN32). --- lib/libz/README | 9 ++++----- lib/libz/zconf.h | 2 +- lib/libz/zlib.h | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/libz/README b/lib/libz/README index a9b1b053da5..a77433e28dd 100644 --- a/lib/libz/README +++ b/lib/libz/README @@ -35,12 +35,11 @@ The changes made in version 1.2.13.1 are documented in the file ChangeLog. Unsupported third party contributions are provided in directory contrib/ . -zlib is available in Java using the java.util.zip package, documented at -http://java.sun.com/developer/technicalArticles/Programming/compression/ . +zlib is available in Java using the java.util.zip package. Follow the API +Documentation link at: https://docs.oracle.com/search/?q=java.util.zip . -A Perl interface to zlib written by Paul Marquess is available -at CPAN (Comprehensive Perl Archive Network) sites, including -http://search.cpan.org/~pmqs/IO-Compress-Zlib/ . +A Perl interface to zlib and bzip2 written by Paul Marquess +can be found at https://github.com/pmqs/IO-Compress . A Python interface to zlib written by A.M. Kuchling is available in Python 1.5 and later versions, see diff --git a/lib/libz/zconf.h b/lib/libz/zconf.h index 6ae14589641..7c1dc4fc61d 100644 --- a/lib/libz/zconf.h +++ b/lib/libz/zconf.h @@ -522,7 +522,7 @@ typedef uLong FAR uLongf; #if !defined(_WIN32) && defined(Z_LARGE64) # define z_off64_t off64_t #else -# if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO) +# if defined(_WIN32) && !defined(__GNUC__) # define z_off64_t __int64 # else # define z_off64_t z_off_t diff --git a/lib/libz/zlib.h b/lib/libz/zlib.h index 33a9e9ddc3c..f0c51448387 100644 --- a/lib/libz/zlib.h +++ b/lib/libz/zlib.h @@ -729,7 +729,7 @@ ZEXTERN int ZEXPORT deflateParams(z_streamp strm, Then no more input data should be provided before the deflateParams() call. If this is done, the old level and strategy will be applied to the data compressed before deflateParams(), and the new level and strategy will be - applied to the the data compressed after deflateParams(). + applied to the data compressed after deflateParams(). deflateParams returns Z_OK on success, Z_STREAM_ERROR if the source stream state was inconsistent or if a parameter was invalid, or Z_BUF_ERROR if -- 2.20.1