Version 2.2.4.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68043bc..c14890e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,7 @@
 
 project("minizip")
 
-set(VERSION "2.2.3")
+set(VERSION "2.2.4")
 
 # Set cmake debug postfix to d
 set(CMAKE_DEBUG_POSTFIX "d")
diff --git a/Minizip.podspec b/Minizip.podspec
index d8ca30a..b744668 100644
--- a/Minizip.podspec
+++ b/Minizip.podspec
@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name     = 'Minizip'
-  s.version  = '2.2.3'
+  s.version  = '2.2.4'
   s.license  = 'zlib'
   s.summary  = 'Minizip contrib in zlib with the latest bug fixes and advanced features'
   s.description = <<-DESC
diff --git a/README.md b/README.md
index 5ee3694..60f4eca 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Minizip 2.2.3

+# Minizip 2.2.4

 

 This library is a refactoring of the minizip contribution found in the zlib distribution that is supported on Windows, macOS, and Linux. The motivation for this work has been the inclusion of advanced features, improvements in code maintainability and readability, and the reduction of duplicate code. It is based on the original work of [Gilles Vollant](http://www.winimage.com/zLibDll/minizip.html) that has been contributed to by many people over the years.

 

diff --git a/src/minizip.c b/src/minizip.c
index 3610a6d..ee367ed 100755
--- a/src/minizip.c
+++ b/src/minizip.c
@@ -1,5 +1,5 @@
 /* minizip.c
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz.h b/src/mz.h
index f83e964..006b766 100644
--- a/src/mz.h
+++ b/src/mz.h
@@ -1,5 +1,5 @@
 /* mz.h -- Errors codes, zip flags and magic
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
@@ -19,7 +19,7 @@
 /***************************************************************************/
 
 // MZ_VERSION
-#define MZ_VERSION                      ("2.2.3")
+#define MZ_VERSION                      ("2.2.4")
 
 // MZ_ERROR
 #define MZ_OK                           (0)
diff --git a/src/mz_compat.c b/src/mz_compat.c
index a6f0daf..1dadd90 100644
--- a/src/mz_compat.c
+++ b/src/mz_compat.c
@@ -1,5 +1,5 @@
 /* mz_compat.c -- Backwards compatible interface for older versions
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_compat.h b/src/mz_compat.h
index 18f6ba1..672f406 100644
--- a/src/mz_compat.h
+++ b/src/mz_compat.h
@@ -1,5 +1,5 @@
 /* mz_compat.h -- Backwards compatible interface for older versions
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_os.c b/src/mz_os.c
index f1cd5b8..6c469b2 100644
--- a/src/mz_os.c
+++ b/src/mz_os.c
@@ -1,5 +1,5 @@
 /* mz_os.c -- System functions
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 64f211a..7e27148 100644
--- a/src/mz_os.h
+++ b/src/mz_os.h
@@ -1,5 +1,5 @@
 /* mz_os.h -- System functions
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_os_posix.c b/src/mz_os_posix.c
index 9b260a5..a5b0b93 100644
--- a/src/mz_os_posix.c
+++ b/src/mz_os_posix.c
@@ -1,5 +1,5 @@
 /* mz_os_posix.c -- System functions for posix
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_os_posix.h b/src/mz_os_posix.h
index c49ad0a..2e78b2a 100644
--- a/src/mz_os_posix.h
+++ b/src/mz_os_posix.h
@@ -1,5 +1,5 @@
 /* mz_os_posix.h -- System functions for posix
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 b24f9fa..5d96f1f 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.2.0, October 22nd, 2017
+   Version 2.2.4, November 15th, 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 c86c87f..45a76e5 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 0950e6a..58d3d78 100755
--- a/src/mz_strm.c
+++ b/src/mz_strm.c
@@ -1,5 +1,5 @@
 /* mz_strm.c -- Stream interface
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 ab827a0..0f45a10 100755
--- a/src/mz_strm.h
+++ b/src/mz_strm.h
@@ -1,5 +1,5 @@
 /* mz_strm.h -- Stream interface
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 49a58ab..f7106c4 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 e44faeb..c160520 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 7ffcb7b..e555646 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 fa62327..30fbb57 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 834bf1d..8e53d06 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 c58f002..b58b873 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 6ca492b..1bbe3ec 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 f526e02..7adb551 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 4a93f88..b57d1a9 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 9724be0..457e0ae 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 e599780..6d32cc7 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    This interface is designed to access memory rather than files.
diff --git a/src/mz_strm_mem.h b/src/mz_strm_mem.h
index be1692f..4a89ff1 100644
--- a/src/mz_strm_mem.h
+++ b/src/mz_strm_mem.h
@@ -1,5 +1,5 @@
 /* mz_strm_mem.h -- Stream for memory access
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_posix.c b/src/mz_strm_posix.c
index 5d79aac..2c17d9e 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 aa5475a..6608f3f 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 49a9f2c..96b6fb5 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_split.h b/src/mz_strm_split.h
index 64d497b..258e27d 100644
--- a/src/mz_strm_split.h
+++ b/src/mz_strm_split.h
@@ -1,5 +1,5 @@
 /* mz_strm_split.h -- Stream for split files
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz_strm_win32.c b/src/mz_strm_win32.c
index f5ebf9f..74d3505 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 35b56aa..ab079a4 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 e19888e..bc50fe8 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 d2b4557..bd13870 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.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 4192865..364b2a6 100755
--- a/src/mz_zip.c
+++ b/src/mz_zip.c
@@ -1,5 +1,5 @@
 /* zip.c -- Zip manipulation
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 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 92892b0..47d2ac3 100644
--- a/src/mz_zip.h
+++ b/src/mz_zip.h
@@ -1,5 +1,5 @@
 /* mz_zip.h -- Zip manipulation
-   Version 2.2.3, October 27th, 2017
+   Version 2.2.4, November 15th, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri