mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Remove version number from headers.
This commit is contained in:
parent
9126177377
commit
70811ac6f5
@ -1,5 +1,4 @@
|
||||
/* minigzip.c
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* minizip.c
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
1
mz.h
1
mz.h
@ -1,5 +1,4 @@
|
||||
/* mz.h -- Errors codes, zip flags and magic
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_compat.c -- Backwards compatible interface for older versions
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
@ -596,7 +595,7 @@ int unzCloseCurrentFile(unzFile file) {
|
||||
}
|
||||
|
||||
int unzGetCurrentFileInfo(unzFile file, unz_file_info *pfile_info, char *filename,
|
||||
unsigned long filename_size, void *extrafield, unsigned long extrafield_size, char *comment,
|
||||
unsigned long filename_size, void *extrafield, unsigned long extrafield_size, char *comment,
|
||||
unsigned long comment_size) {
|
||||
mz_compat *compat = (mz_compat *)file;
|
||||
mz_zip_file *file_info = NULL;
|
||||
@ -656,7 +655,7 @@ int unzGetCurrentFileInfo(unzFile file, unz_file_info *pfile_info, char *filenam
|
||||
}
|
||||
|
||||
int unzGetCurrentFileInfo64(unzFile file, unz_file_info64 * pfile_info, char *filename,
|
||||
unsigned long filename_size, void *extrafield, unsigned long extrafield_size, char *comment,
|
||||
unsigned long filename_size, void *extrafield, unsigned long extrafield_size, char *comment,
|
||||
unsigned long comment_size) {
|
||||
mz_compat *compat = (mz_compat *)file;
|
||||
mz_zip_file *file_info = NULL;
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_compat.h -- Backwards compatible interface for older versions
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_crypt.c -- Crypto/hash functions
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_crypt.h -- Crypto/hash functions
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_crypt_apple.c -- Crypto/hash functions for Apple
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_crypt_brg.c -- Crypto/hash functions using Brian Gladman's library
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_crypt_openssl.c -- Crypto/hash functions for OpenSSL
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_crypt_win32.c -- Crypto/hash functions for Windows
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
1
mz_os.c
1
mz_os.c
@ -1,5 +1,4 @@
|
||||
/* mz_os.c -- System functions
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
1
mz_os.h
1
mz_os.h
@ -1,5 +1,4 @@
|
||||
/* mz_os.h -- System functions
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_os_posix.c -- System functions for posix
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_os_win32.c -- System functions for Windows
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm.c -- Stream interface
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm.h -- Stream interface
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_buf.c -- Stream for buffering reads/writes
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
This version of ioapi is designed to buffer IO.
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_buf.h -- Stream for buffering reads/writes
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
This version of ioapi is designed to buffer IO.
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_bzip.c -- Stream for bzip inflate/deflate
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_bzip.h -- Stream for bzip inflate/deflate
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_libcomp.c -- Stream for apple compression
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_libcomp.h -- Stream for apple compression
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_lzma.c -- Stream for lzma inflate/deflate
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_lzma.h -- Stream for lzma inflate/deflate
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_mem.c -- Stream for memory access
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
This interface is designed to access memory rather than files.
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_mem.h -- Stream for memory access
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_sstrm_os.h -- Stream for filesystem access
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_posix.c -- Stream for filesystem access for posix/linux
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_win32.c -- Stream for filesystem access for windows
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_pkcrypt.c -- Code for traditional PKWARE encryption
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_pkcrypt.h -- Code for traditional PKWARE encryption
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_split.c -- Stream for split files
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_split.h -- Stream for split files
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_wzaes.c -- Stream for WinZip AES encryption
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_wzaes.h -- Stream for WinZIP AES encryption
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_zlib.c -- Stream for zlib inflate/deflate
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_zlib.h -- Stream for zlib inflate/deflate
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_strm_zstd.c -- Stream for zstd compress/decompress
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
@ -15,7 +14,7 @@
|
||||
#include "mz_strm.h"
|
||||
#include "mz_strm_zstd.h"
|
||||
|
||||
#include <zstd.h>
|
||||
#include <zstd.h>
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
@ -182,7 +181,7 @@ static int32_t mz_stream_zstd_compress(void *stream, ZSTD_EndDirective flush) {
|
||||
int32_t out_bytes = 0;
|
||||
size_t result = 0;
|
||||
int32_t err = 0;
|
||||
|
||||
|
||||
do {
|
||||
if (zstd->out.pos == zstd->out.size) {
|
||||
err = mz_stream_zstd_flush(zstd);
|
||||
|
1
mz_zip.c
1
mz_zip.c
@ -1,5 +1,4 @@
|
||||
/* zip.c -- Zip manipulation
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
1
mz_zip.h
1
mz_zip.h
@ -1,5 +1,4 @@
|
||||
/* mz_zip.h -- Zip manipulation
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_zip_rw.c -- Zip reader/writer
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* mz_zip_rw.h -- Zip reader/writer
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2010-2020 Nathan Moinvaziri
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* standalone.c - Standalone fuzzer tester
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2018 sebpop
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* unzip_fuzzer.c - Unzip fuzzer for libFuzzer
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2018 The Chromium Authors
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* zip_fuzzer.c - Zip fuzzer for libFuzzer
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2018 The Chromium Authors
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* test.c - Test bed area
|
||||
Version 2.9.3, May 21, 2020
|
||||
part of the MiniZip project
|
||||
|
||||
Copyright (C) 2018-2020 Nathan Moinvaziri
|
||||
|
Loading…
x
Reference in New Issue
Block a user