Version 2.0.1
diff --git a/src/miniunz.c b/src/miniunz.c index 3dad5c2..6864871 100644 --- a/src/miniunz.c +++ b/src/miniunz.c
@@ -1,5 +1,5 @@ /* miniunz.c - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri @@ -32,7 +32,7 @@ void miniunz_banner() { - printf("Miniunz 2.0.0 - https://github.com/nmoinvaz/minizip\n"); + printf("Miniunz %s - https://github.com/nmoinvaz/minizip\n", MZ_VERSION); printf("---------------------------------------------------\n"); }
diff --git a/src/minizip.c b/src/minizip.c index 01140ea..65d8165 100755 --- a/src/minizip.c +++ b/src/minizip.c
@@ -1,5 +1,5 @@ /* minizip.c - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri @@ -32,7 +32,7 @@ void minizip_banner() { - printf("Minizip 2.0.0 - https://github.com/nmoinvaz/minizip\n"); + printf("Minizip %s - https://github.com/nmoinvaz/minizip\n", MZ_VERSION); printf("---------------------------------------------------\n"); }
diff --git a/src/mz.h b/src/mz.h index 2f11465..66d7162 100644 --- a/src/mz.h +++ b/src/mz.h
@@ -1,5 +1,5 @@ /* mz.h -- Errors codes, zip flags and magic - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri @@ -65,6 +65,9 @@ #define MZ_ZIP_MAGIC_ENDLOCHEADER64 (0x07064b50) #define MZ_ZIP_MAGIC_DATADESCRIPTOR (0x08074b50) +// MZ_VERSION +#define MZ_VERSION ("2.0.1") + /***************************************************************************/ #ifdef __cplusplus
diff --git a/src/mz_os.c b/src/mz_os.c index f63abbd..181a823 100644 --- a/src/mz_os.c +++ b/src/mz_os.c
@@ -1,5 +1,5 @@ /* mz_os.c -- System functions - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_os.h b/src/mz_os.h index 7dee777..52e0767 100644 --- a/src/mz_os.h +++ b/src/mz_os.h
@@ -1,5 +1,5 @@ /* mz_os.h -- System functions - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_os_win32.c b/src/mz_os_win32.c index f1f0291..25df5f6 100644 --- a/src/mz_os_win32.c +++ b/src/mz_os_win32.c
@@ -1,5 +1,5 @@ /* mz_os_win32.c -- System functions for Windows - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_os_win32.h b/src/mz_os_win32.h index 684a20b..1989a36 100644 --- a/src/mz_os_win32.h +++ b/src/mz_os_win32.h
@@ -1,5 +1,5 @@ /* mz_os_win32.h -- System functions for Windows - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm.c b/src/mz_strm.c index 1bbc05f..c37090d 100755 --- a/src/mz_strm.c +++ b/src/mz_strm.c
@@ -1,5 +1,5 @@ /* mz_strm.c -- Stream interface - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm.h b/src/mz_strm.h index 779591c..a58967f 100755 --- a/src/mz_strm.h +++ b/src/mz_strm.h
@@ -1,5 +1,5 @@ /* mz_strm.h -- Stream interface - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_aes.c b/src/mz_strm_aes.c index 1c482e6..2085b6c 100644 --- a/src/mz_strm_aes.c +++ b/src/mz_strm_aes.c
@@ -1,5 +1,5 @@ /* mz_strm_aes.c -- Stream for WinZip AES encryption - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_aes.h b/src/mz_strm_aes.h index c9d349d..604a7fd 100644 --- a/src/mz_strm_aes.h +++ b/src/mz_strm_aes.h
@@ -1,5 +1,5 @@ /* mz_strm_aes.h -- Stream for WinZIP AES encryption - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_buf.c b/src/mz_strm_buf.c index aaf931b..1dacf3b 100755 --- a/src/mz_strm_buf.c +++ b/src/mz_strm_buf.c
@@ -1,5 +1,5 @@ /* mz_strm_buf.c -- Stream for buffering reads/writes - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project This version of ioapi is designed to buffer IO.
diff --git a/src/mz_strm_buf.h b/src/mz_strm_buf.h index 163af41..d602154 100644 --- a/src/mz_strm_buf.h +++ b/src/mz_strm_buf.h
@@ -1,5 +1,5 @@ /* mz_strm_buf.h -- Stream for buffering reads/writes - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project This version of ioapi is designed to buffer IO.
diff --git a/src/mz_strm_bzip.c b/src/mz_strm_bzip.c index fb5b3e1..6b051cd 100644 --- a/src/mz_strm_bzip.c +++ b/src/mz_strm_bzip.c
@@ -1,5 +1,5 @@ /* mz_strm_bzip.c -- Stream for bzip inflate/deflate - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_bzip.h b/src/mz_strm_bzip.h index 0a311dc..31bbe89 100644 --- a/src/mz_strm_bzip.h +++ b/src/mz_strm_bzip.h
@@ -1,5 +1,5 @@ /* mz_strm_bzip.h -- Stream for bzip inflate/deflate - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_crypt.c b/src/mz_strm_crypt.c index 6328d35..3bff330 100644 --- a/src/mz_strm_crypt.c +++ b/src/mz_strm_crypt.c
@@ -1,5 +1,5 @@ /* mz_strm_crypt.c -- Code for traditional PKWARE encryption - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_crypt.h b/src/mz_strm_crypt.h index 0f434b4..87d99b3 100644 --- a/src/mz_strm_crypt.h +++ b/src/mz_strm_crypt.h
@@ -1,5 +1,5 @@ /* mz_strm_crypt.h -- Code for traditional PKWARE encryption - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_lzma.c b/src/mz_strm_lzma.c index 5d139fc..84b7f9a 100644 --- a/src/mz_strm_lzma.c +++ b/src/mz_strm_lzma.c
@@ -1,5 +1,5 @@ /* mz_strm_lzma.c -- Stream for lzma inflate/deflate - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_lzma.h b/src/mz_strm_lzma.h index c28004f..6099fe2 100644 --- a/src/mz_strm_lzma.h +++ b/src/mz_strm_lzma.h
@@ -1,5 +1,5 @@ /* mz_strm_lzma.h -- Stream for lzma inflate/deflate - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_mem.c b/src/mz_strm_mem.c index 2b4cb61..091579b 100644 --- a/src/mz_strm_mem.c +++ b/src/mz_strm_mem.c
@@ -1,5 +1,5 @@ /* mz_strm_mem.c -- Stream for memory access - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project This interface is designed to access memory rather than files.
diff --git a/src/mz_strm_posix.c b/src/mz_strm_posix.c index a7d5349..033d729 100644 --- a/src/mz_strm_posix.c +++ b/src/mz_strm_posix.c
@@ -1,5 +1,5 @@ /* mz_strm_posix.c -- Stream for filesystem access for posix/linux - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_posix.h b/src/mz_strm_posix.h index 497a99c..b1699ba 100644 --- a/src/mz_strm_posix.h +++ b/src/mz_strm_posix.h
@@ -1,5 +1,5 @@ /* mz_strm_posix.h -- Stream for filesystem access for posix/linux - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_split.c b/src/mz_strm_split.c index 72ef7d7..55d857e 100644 --- a/src/mz_strm_split.c +++ b/src/mz_strm_split.c
@@ -1,5 +1,5 @@ /* mz_strm_split.c -- Stream for split files - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_win32.c b/src/mz_strm_win32.c index 4b0ffb3..93d5294 100644 --- a/src/mz_strm_win32.c +++ b/src/mz_strm_win32.c
@@ -1,5 +1,5 @@ /* mz_strm_win32.c -- Stream for filesystem access for windows - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_win32.h b/src/mz_strm_win32.h index dffd2d0..219474b 100644 --- a/src/mz_strm_win32.h +++ b/src/mz_strm_win32.h
@@ -1,5 +1,5 @@ /* mz_sstrm_win32.h -- Stream for filesystem access for windows - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_zlib.c b/src/mz_strm_zlib.c index 66a73ef..288a07d 100644 --- a/src/mz_strm_zlib.c +++ b/src/mz_strm_zlib.c
@@ -1,5 +1,5 @@ /* mz_strm_zlib.c -- Stream for zlib inflate/deflate - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_zlib.h b/src/mz_strm_zlib.h index f6d918f..0f5ea72 100644 --- a/src/mz_strm_zlib.h +++ b/src/mz_strm_zlib.h
@@ -1,5 +1,5 @@ /* mz_strm_zlib.h -- Stream for zlib inflate/deflate - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_unzip.c b/src/mz_unzip.c index 79887f0..8255a73 100644 --- a/src/mz_unzip.c +++ b/src/mz_unzip.c
@@ -1,5 +1,5 @@ /* unzip.c -- Zip manipulation - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2010-2017 Nathan Moinvaziri
diff --git a/src/mz_unzip.h b/src/mz_unzip.h index 92aea5b..78a5fe8 100644 --- a/src/mz_unzip.h +++ b/src/mz_unzip.h
@@ -1,5 +1,5 @@ /* mz_unzip.h -- Zip manipulation - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_zip.c b/src/mz_zip.c index aae8a06..46691b3 100755 --- a/src/mz_zip.c +++ b/src/mz_zip.c
@@ -1,5 +1,5 @@ /* zip.c -- Zip manipulation - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2010-2017 Nathan Moinvaziri
diff --git a/src/mz_zip.h b/src/mz_zip.h index 8aebfe6..039db2f 100644 --- a/src/mz_zip.h +++ b/src/mz_zip.h
@@ -1,5 +1,5 @@ /* mz_zip.h -- Zip manipulation - Version 2.0.0, October 4th, 2017 + Version 2.0.1, October 16th, 2017 part of the MiniZip project Copyright (C) 2012-2017 Nathan Moinvaziri