Version 2.9.2.

This commit is contained in:
Nathan Moinvaziri 2020-02-12 08:25:33 -08:00
parent d7e6aa00c7
commit b39f7a0e89
49 changed files with 98 additions and 98 deletions

View file

@ -1,5 +1,5 @@
#***************************************************************************
# Copyright (C) 2017-2019 Nathan Moinvaziri
# Copyright (C) 2017-2020 Nathan Moinvaziri
# https://github.com/nmoinvaz/minizip
# Copyright (C) 2016 Matthias Schmieder
# schmieder.matthias@gmail.com
@ -36,7 +36,7 @@ endif()
enable_language(C)
# Minizip library version
set(VERSION "2.9.1")
set(VERSION "2.9.2")
# Minizip api version
set(SOVERSION "2.5")

View file

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Minizip'
s.version = '2.9.1'
s.version = '2.9.2'
s.license = 'zlib'
s.summary = 'Minizip contrib in zlib with the latest bug fixes and advanced features'
s.description = <<-DESC

View file

@ -1,4 +1,4 @@
# minizip 2.9.1
# minizip 2.9.2
minizip is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.

View file

@ -1,8 +1,8 @@
/* minigzip.c
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* minizip.c
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 1998-2010 Gilles Vollant
https://www.winimage.com/zLibDll/minizip.html

6
mz.h
View file

@ -1,8 +1,8 @@
/* mz.h -- Errors codes, zip flags and magic
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.
@ -15,7 +15,7 @@
/***************************************************************************/
/* MZ_VERSION */
#define MZ_VERSION ("2.9.1")
#define MZ_VERSION ("2.9.2")
/* MZ_ERROR */
#define MZ_OK (0) /* zlib */

View file

@ -1,8 +1,8 @@
/* mz_compat.c -- Backwards compatible interface for older versions
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 1998-2010 Gilles Vollant
https://www.winimage.com/zLibDll/minizip.html

View file

@ -1,8 +1,8 @@
/* mz_compat.h -- Backwards compatible interface for older versions
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 1998-2010 Gilles Vollant
https://www.winimage.com/zLibDll/minizip.html

View file

@ -1,8 +1,8 @@
/* mz_crypt.c -- Crypto/hash functions
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_crypt.h -- Crypto/hash functions
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_crypt_apple.c -- Crypto/hash functions for Apple
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_crypt_brg.c -- Crypto/hash functions using Brian Gladman's library
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_crypt_openssl.c -- Crypto/hash functions for OpenSSL
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_crypt_win32.c -- Crypto/hash functions for Windows
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_os.c -- System functions
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 1998-2010 Gilles Vollant
https://www.winimage.com/zLibDll/minizip.html

View file

@ -1,8 +1,8 @@
/* mz_os.h -- System functions
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_os_posix.c -- System functions for posix
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_os_win32.c -- System functions for Windows
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm.c -- Stream interface
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm.h -- Stream interface
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,10 +1,10 @@
/* mz_strm_buf.c -- Stream for buffering reads/writes
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
This version of ioapi is designed to buffer IO.
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,10 +1,10 @@
/* mz_strm_buf.h -- Stream for buffering reads/writes
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
This version of ioapi is designed to buffer IO.
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_bzip.c -- Stream for bzip inflate/deflate
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as bzip.

View file

@ -1,8 +1,8 @@
/* mz_strm_bzip.h -- Stream for bzip inflate/deflate
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_libcomp.c -- Stream for apple compression
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_libcomp.h -- Stream for apple compression
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_lzma.c -- Stream for lzma inflate/deflate
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as lzma.

View file

@ -1,8 +1,8 @@
/* mz_strm_lzma.h -- Stream for lzma inflate/deflate
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as lzma.

View file

@ -1,5 +1,5 @@
/* mz_strm_mem.c -- Stream for memory access
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
This interface is designed to access memory rather than files.
@ -7,7 +7,7 @@
Based on Unzip ioapi.c version 0.22, May 19th, 2003
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 2003 Justin Fletcher
Copyright (C) 1998-2003 Gilles Vollant

View file

@ -1,8 +1,8 @@
/* mz_strm_mem.h -- Stream for memory access
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_sstrm_os.h -- Stream for filesystem access
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_posix.c -- Stream for filesystem access for posix/linux
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Modifications for Zip64 support
Copyright (C) 2009-2010 Mathias Svensson

View file

@ -1,8 +1,8 @@
/* mz_strm_win32.c -- Stream for filesystem access for windows
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 2009-2010 Mathias Svensson
Modifications for Zip64 support

View file

@ -1,8 +1,8 @@
/* mz_strm_pkcrypt.c -- Code for traditional PKWARE encryption
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 1998-2005 Gilles Vollant
Modifications for Info-ZIP crypting

View file

@ -1,8 +1,8 @@
/* mz_strm_pkcrypt.h -- Code for traditional PKWARE encryption
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_split.c -- Stream for split files
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.
@ -309,7 +309,7 @@ int32_t mz_stream_split_write(void *stream, const void *buf, int32_t size)
while (bytes_left > 0)
{
bytes_to_write = bytes_left;
if (split->disk_size > 0)
{
if ((split->total_out_disk == split->disk_size && split->total_out > 0) ||

View file

@ -1,8 +1,8 @@
/* mz_strm_split.h -- Stream for split files
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_wzaes.c -- Stream for WinZip AES encryption
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 1998-2010 Brian Gladman, Worcester, UK

View file

@ -1,8 +1,8 @@
/* mz_strm_wzaes.h -- Stream for WinZIP AES encryption
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_zlib.c -- Stream for zlib inflate/deflate
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_strm_zlib.h -- Stream for zlib inflate/deflate
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* zip.c -- Zip manipulation
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 2009-2010 Mathias Svensson
Modifications for Zip64 support

View file

@ -1,8 +1,8 @@
/* mz_zip.h -- Zip manipulation
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
Copyright (C) 2009-2010 Mathias Svensson
Modifications for Zip64 support

View file

@ -1,8 +1,8 @@
/* mz_zip_rw.c -- Zip reader/writer
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* mz_zip_rw.h -- Zip reader/writer
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2010-2019 Nathan Moinvaziri
Copyright (C) 2010-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,10 +1,10 @@
/* standalone.c - Standalone fuzzer tester
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2018 sebpop
https://github.com/sebpop
Copyright (C) 2018-2019 Nathan Moinvaziri
Copyright (C) 2018-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,10 +1,10 @@
/* unzip_fuzzer.c - Unzip fuzzer for libFuzzer
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2018 The Chromium Authors
Copyright (C) 2018 Anand K. Mistry
Copyright (C) 2018-2019 Nathan Moinvaziri
Copyright (C) 2018-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,10 +1,10 @@
/* zip_fuzzer.c - Zip fuzzer for libFuzzer
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2018 The Chromium Authors
Copyright (C) 2018 Anand K. Mistry
Copyright (C) 2018-2019 Nathan Moinvaziri
Copyright (C) 2018-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.

View file

@ -1,8 +1,8 @@
/* test.c - Test bed area
Version 2.9.1, November 15, 2019
Version 2.9.2, February 12, 2020
part of the MiniZip project
Copyright (C) 2018-2019 Nathan Moinvaziri
Copyright (C) 2018-2020 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.