|
1 | 1 | /* zlib.h -- interface of the 'zlib' general purpose compression library
|
2 |
| - version 1.2.12, March 11th, 2022 |
| 2 | + version 1.2.13, October 13th, 2022 |
3 | 3 |
|
4 | 4 | Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
|
5 | 5 |
|
|
37 | 37 | extern "C" {
|
38 | 38 | #endif
|
39 | 39 |
|
40 |
| -#define ZLIB_VERSION "1.2.12" |
41 |
| -#define ZLIB_VERNUM 0x12c0 |
| 40 | +#define ZLIB_VERSION "1.2.13" |
| 41 | +#define ZLIB_VERNUM 0x12d0 |
42 | 42 | #define ZLIB_VER_MAJOR 1
|
43 | 43 | #define ZLIB_VER_MINOR 2
|
44 |
| -#define ZLIB_VER_REVISION 12 |
| 44 | +#define ZLIB_VER_REVISION 13 |
45 | 45 | #define ZLIB_VER_SUBREVISION 0
|
46 | 46 |
|
47 | 47 | /*
|
@@ -276,7 +276,7 @@ ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
|
276 | 276 | == 0), or after each call of deflate(). If deflate returns Z_OK and with
|
277 | 277 | zero avail_out, it must be called again after making room in the output
|
278 | 278 | buffer because there might be more output pending. See deflatePending(),
|
279 |
| - which can be used if desired to determine whether or not there is more ouput |
| 279 | + which can be used if desired to determine whether or not there is more output |
280 | 280 | in that case.
|
281 | 281 |
|
282 | 282 | Normally the parameter flush is set to Z_NO_FLUSH, which allows deflate to
|
@@ -660,7 +660,7 @@ ZEXTERN int ZEXPORT deflateGetDictionary OF((z_streamp strm,
|
660 | 660 | to dictionary. dictionary must have enough space, where 32768 bytes is
|
661 | 661 | always enough. If deflateGetDictionary() is called with dictionary equal to
|
662 | 662 | Z_NULL, then only the dictionary length is returned, and nothing is copied.
|
663 |
| - Similary, if dictLength is Z_NULL, then it is not set. |
| 663 | + Similarly, if dictLength is Z_NULL, then it is not set. |
664 | 664 |
|
665 | 665 | deflateGetDictionary() may return a length less than the window size, even
|
666 | 666 | when more than the window size in input has been provided. It may return up
|
@@ -915,7 +915,7 @@ ZEXTERN int ZEXPORT inflateGetDictionary OF((z_streamp strm,
|
915 | 915 | to dictionary. dictionary must have enough space, where 32768 bytes is
|
916 | 916 | always enough. If inflateGetDictionary() is called with dictionary equal to
|
917 | 917 | Z_NULL, then only the dictionary length is returned, and nothing is copied.
|
918 |
| - Similary, if dictLength is Z_NULL, then it is not set. |
| 918 | + Similarly, if dictLength is Z_NULL, then it is not set. |
919 | 919 |
|
920 | 920 | inflateGetDictionary returns Z_OK on success, or Z_STREAM_ERROR if the
|
921 | 921 | stream state is inconsistent.
|
@@ -1437,12 +1437,12 @@ ZEXTERN z_size_t ZEXPORT gzfread OF((voidp buf, z_size_t size, z_size_t nitems,
|
1437 | 1437 |
|
1438 | 1438 | In the event that the end of file is reached and only a partial item is
|
1439 | 1439 | available at the end, i.e. the remaining uncompressed data length is not a
|
1440 |
| - multiple of size, then the final partial item is nevetheless read into buf |
| 1440 | + multiple of size, then the final partial item is nevertheless read into buf |
1441 | 1441 | and the end-of-file flag is set. The length of the partial item read is not
|
1442 | 1442 | provided, but could be inferred from the result of gztell(). This behavior
|
1443 | 1443 | is the same as the behavior of fread() implementations in common libraries,
|
1444 | 1444 | but it prevents the direct use of gzfread() to read a concurrently written
|
1445 |
| - file, reseting and retrying on end-of-file, when size is not 1. |
| 1445 | + file, resetting and retrying on end-of-file, when size is not 1. |
1446 | 1446 | */
|
1447 | 1447 |
|
1448 | 1448 | ZEXTERN int ZEXPORT gzwrite OF((gzFile file, voidpc buf, unsigned len));
|
@@ -1913,7 +1913,7 @@ ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp));
|
1913 | 1913 | ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void));
|
1914 | 1914 | ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int));
|
1915 | 1915 | ZEXTERN int ZEXPORT inflateValidate OF((z_streamp, int));
|
1916 |
| -ZEXTERN unsigned long ZEXPORT inflateCodesUsed OF ((z_streamp)); |
| 1916 | +ZEXTERN unsigned long ZEXPORT inflateCodesUsed OF((z_streamp)); |
1917 | 1917 | ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp));
|
1918 | 1918 | ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp));
|
1919 | 1919 | #if defined(_WIN32) && !defined(Z_SOLO)
|
|
0 commit comments