Update zlib to 1.2.12

This commit is contained in:
Miku AuahDark
2022-08-25 19:13:08 +08:00
parent 2f06b85a2c
commit 7fcddc790b
74 changed files with 12237 additions and 1733 deletions
+2 -3
View File
@@ -440,9 +440,8 @@ void test_sync(compr, comprLen, uncompr, uncomprLen)
CHECK_ERR(err, "inflateSync");
err = inflate(&d_stream, Z_FINISH);
if (err != Z_DATA_ERROR) {
fprintf(stderr, "inflate should report DATA_ERROR\n");
/* Because of incorrect adler32 */
if (err != Z_STREAM_END) {
fprintf(stderr, "inflate should report Z_STREAM_END\n");
exit(1);
}
err = inflateEnd(&d_stream);