Skip to content

Commit 4fe59ef

Browse files
madlerDead2
authored andcommitted
zlib 1.3.1
madler/zlib#51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf
1 parent 13a7758 commit 4fe59ef

18 files changed

+25
-25
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for zlib
2-
# Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
2+
# Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
33
# For conditions of distribution and use, see copyright notice in zlib.h
44

55
# To compile and test, type:

deflate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* deflate.c -- compress data using the deflation algorithm
2-
* Copyright (C) 1995-2023 Jean-loup Gailly and Mark Adler
2+
* Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

@@ -58,7 +58,7 @@
5858
# undef deflateInit2
5959
#endif
6060

61-
const char PREFIX(deflate_copyright)[] = " deflate 1.3.0 Copyright 1995-2023 Jean-loup Gailly and Mark Adler ";
61+
const char PREFIX(deflate_copyright)[] = " deflate 1.3.1 Copyright 1995-2024 Jean-loup Gailly and Mark Adler ";
6262
/*
6363
If you use the zlib library in a product, an acknowledgment is welcome
6464
in the documentation of your product. If for some reason you cannot

deflate_fast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* deflate_fast.c -- compress data using the fast strategy of deflation algorithm
22
*
3-
* Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
3+
* Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
44
* For conditions of distribution and use, see copyright notice in zlib.h
55
*/
66

deflate_huff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* deflate_huff.c -- compress data using huffman encoding only strategy
22
*
3-
* Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
3+
* Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
44
* For conditions of distribution and use, see copyright notice in zlib.h
55
*/
66

deflate_p.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* deflate_p.h -- Private inline functions and macros shared with more than
22
* one deflate method
33
*
4-
* Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
4+
* Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
55
* For conditions of distribution and use, see copyright notice in zlib.h
66
*
77
*/

deflate_rle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* deflate_rle.c -- compress data using RLE strategy of deflation algorithm
22
*
3-
* Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
3+
* Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
44
* For conditions of distribution and use, see copyright notice in zlib.h
55
*/
66

deflate_slow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* deflate_slow.c -- compress data using the slow strategy of deflation algorithm
22
*
3-
* Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
3+
* Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
44
* For conditions of distribution and use, see copyright notice in zlib.h
55
*/
66

deflate_stored.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* deflate_stored.c -- store data without compression using deflation algorithm
22
*
3-
* Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
3+
* Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
44
* For conditions of distribution and use, see copyright notice in zlib.h
55
*/
66

gzguts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef GZGUTS_H_
22
#define GZGUTS_H_
33
/* gzguts.h -- zlib internal header definitions for gz* operations
4-
* Copyright (C) 2004-2019 Mark Adler
4+
* Copyright (C) 2004-2024 Mark Adler
55
* For conditions of distribution and use, see copyright notice in zlib.h
66
*/
77

gzlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* gzlib.c -- zlib functions common to reading and writing gzip files
2-
* Copyright (C) 2004-2019 Mark Adler
2+
* Copyright (C) 2004-2024 Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

inftrees.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/* inftrees.c -- generate Huffman trees for efficient decoding
2-
* Copyright (C) 1995-2023 Mark Adler
2+
* Copyright (C) 1995-2024 Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

66
#include "zbuild.h"
77
#include "zutil.h"
88
#include "inftrees.h"
99

10-
const char PREFIX(inflate_copyright)[] = " inflate 1.3.0 Copyright 1995-2023 Mark Adler ";
10+
const char PREFIX(inflate_copyright)[] = " inflate 1.3.1 Copyright 1995-2024 Mark Adler ";
1111
/*
1212
If you use the zlib library in a product, an acknowledgment is welcome
1313
in the documentation of your product. If for some reason you cannot
@@ -54,7 +54,7 @@ int Z_INTERNAL zng_inflate_table(codetype type, uint16_t *lens, unsigned codes,
5454
35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
5555
static const uint16_t lext[31] = { /* Length codes 257..285 extra */
5656
16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,
57-
19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 77, 202};
57+
19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 203, 77};
5858
static const uint16_t dbase[32] = { /* Distance codes 0..29 base */
5959
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
6060
257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,

test/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
1+
# Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
22
# Copyright 2015, Daniel Axtens, IBM Corporation
33
# zlib license, see zlib.h
44

trees.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* trees.c -- output deflated data using Huffman coding
2-
* Copyright (C) 1995-2021 Jean-loup Gailly
2+
* Copyright (C) 1995-2024 Jean-loup Gailly
33
* detect_data_type() function provided freely by Cosmin Truta, 2006
44
* For conditions of distribution and use, see copyright notice in zlib.h
55
*/

zconf-ng.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* zconf-ng.h -- configuration of the zlib-ng compression library
2-
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
2+
* Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

zconf.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* zconf.h -- configuration of the zlib compression library
2-
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
2+
* Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

zlib-ng.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define ZNGLIB_H_
33
/* zlib-ng.h -- interface of the 'zlib-ng' compression library, forked from zlib.
44
5-
Copyright (C) 1995-2016 Jean-loup Gailly and Mark Adler
5+
Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
66
77
This software is provided 'as-is', without any express or implied
88
warranty. In no event will the authors be held liable for any damages

zlib.h.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#ifndef ZLIB_H_
22
#define ZLIB_H_
33
/* zlib.h -- interface of the 'zlib-ng' compression library
4-
Forked from and compatible with zlib 1.2.13
4+
Forked from and compatible with zlib 1.3.1
55
6-
Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
6+
Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
77
88
This software is provided 'as-is', without any express or implied
99
warranty. In no event will the authors be held liable for any damages
@@ -58,11 +58,11 @@ extern "C" {
5858
#define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
5959
#define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
6060

61-
#define ZLIB_VERSION "1.3.0.zlib-ng"
62-
#define ZLIB_VERNUM 0x130f
61+
#define ZLIB_VERSION "1.3.1.zlib-ng"
62+
#define ZLIB_VERNUM 0x131f
6363
#define ZLIB_VER_MAJOR 1
6464
#define ZLIB_VER_MINOR 3
65-
#define ZLIB_VER_REVISION 0
65+
#define ZLIB_VER_REVISION 1
6666
#define ZLIB_VER_SUBREVISION 15 /* 15=fork (0xf) */
6767

6868
/*

zutil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef ZUTIL_H_
22
#define ZUTIL_H_
33
/* zutil.h -- internal interface and configuration of the compression library
4-
* Copyright (C) 1995-2022 Jean-loup Gailly, Mark Adler
4+
* Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
55
* For conditions of distribution and use, see copyright notice in zlib.h
66
*/
77

0 commit comments

Comments
 (0)