diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-05-02 08:03:55 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-05-02 08:03:55 +0000 |
commit | 39a65f9d99b8460490a5e95aeff052cdab494594 (patch) | |
tree | 12bb3c4dc8d0e788a84355eb5458b7cf60f98dae | |
parent | 8dbaeb8a929dbbd5c46c3e564ec39e40fef6ee75 (diff) |
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).
-rw-r--r-- | lib/libz/README | 9 | ||||
-rw-r--r-- | lib/libz/zconf.h | 2 | ||||
-rw-r--r-- | 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 <pmqs@cpan.org> 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 <pmqs@cpan.org> +can be found at https://github.com/pmqs/IO-Compress . A Python interface to zlib written by A.M. Kuchling <amk@amk.ca> 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 |