Version 2.1.1.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a7d32a8..6ac9214 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,7 +26,7 @@
 
 project("minizip")
 
-set(VERSION "2.1.0")
+set(VERSION "2.1.1")
 
 # Set cmake debug postfix to d
 set(CMAKE_DEBUG_POSTFIX "d")
diff --git a/Minizip.podspec b/Minizip.podspec
index 9a410a4..aa41172 100644
--- a/Minizip.podspec
+++ b/Minizip.podspec
@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name     = 'Minizip'
-  s.version  = '2.1.0'
+  s.version  = '2.1.1'
   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 09b639c..ff193d7 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# Minizip 2.1.0

+# Minizip 2.1.1

 

 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.

 

 Dev: ![Dev Branch Status](https://travis-ci.org/nmoinvaz/minizip.svg?branch=dev)

 Master: ![Master Branch Status](https://travis-ci.org/nmoinvaz/minizip.svg?branch=master)

 

-For the older release of the library maintained by myself checkout the [1.2](https://github.com/nmoinvaz/minizip/tree/1.2) branch.

+For my older fork of this library checkout the [1.2](https://github.com/nmoinvaz/minizip/tree/1.2) branch.

 For the original work maintained by Mark Adler checkout the zlib minizip  [contrib](https://github.com/madler/zlib/tree/master/contrib/minizip).

 

 ## Build

diff --git a/src/minizip.c b/src/minizip.c
index 0e47916..b977cb7 100755
--- a/src/minizip.c
+++ b/src/minizip.c
@@ -1,5 +1,5 @@
 /* minizip.c
-   Version 2.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
diff --git a/src/mz.h b/src/mz.h
index 05ea730..cc342d7 100644
--- a/src/mz.h
+++ b/src/mz.h
@@ -1,5 +1,5 @@
 /* mz.h -- Errors codes, zip flags and magic
-   Version 2.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri
@@ -64,7 +64,7 @@
 #define MZ_AES_ENCRYPTION_MODE_256      (0x03)
 
 // MZ_VERSION
-#define MZ_VERSION                      ("2.1.0")
+#define MZ_VERSION                      ("2.1.1")
 
 /***************************************************************************/
 
diff --git a/src/mz_os.c b/src/mz_os.c
index 9d462a0..fe24772 100644
--- a/src/mz_os.c
+++ b/src/mz_os.c
@@ -1,5 +1,5 @@
 /* mz_os.c -- System functions
-   Version 2.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 ad64fa9..b301294 100644
--- a/src/mz_os.h
+++ b/src/mz_os.h
@@ -1,5 +1,5 @@
 /* mz_os.h -- System functions
-   Version 2.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 5c2161e..e1b7235 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 c049d48..e2c1a11 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 ddfd0ea..ccec8c3 100755
--- a/src/mz_strm.c
+++ b/src/mz_strm.c
@@ -1,5 +1,5 @@
 /* mz_strm.c -- Stream interface
-   Version 2.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 353a6e9..db595fe 100755
--- a/src/mz_strm.h
+++ b/src/mz_strm.h
@@ -1,5 +1,5 @@
 /* mz_strm.h -- Stream interface
-   Version 2.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 84aca38..92128fb 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 b724c45..7e43a05 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 06e8ca2..10c47c1 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 db2e157..4b825e5 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 2570443..b8a939a 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 0112c45..44ee7ac 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 674197d..c1ff8fa 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 4698d7f..2bc0dd5 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 0aabfce..f8dbdf5 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 3b45cb9..0f2b79d 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 c6aa716..7369f0c 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 21fb05a..49759b6 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 4509e1f..7f28d26 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 3aa9d0e..8132cc2 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 d3101ba..7061ae3 100644
--- a/src/mz_strm_split.h
+++ b/src/mz_strm_split.h
@@ -1,4 +1,5 @@
 /* mz_strm_split.h -- Stream for split files
+   Version 2.1.1, October 21st, 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 b6c9a63..d6a1d31 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 6e599ce..45e64f7 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 303c0eb..baeb99b 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 dcf37ef..87f7770 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.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 980bad4..e0eb871 100755
--- a/src/mz_zip.c
+++ b/src/mz_zip.c
@@ -1,5 +1,5 @@
 /* zip.c -- Zip manipulation
-   Version 2.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 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 705d974..c5a6a7f 100644
--- a/src/mz_zip.h
+++ b/src/mz_zip.h
@@ -1,5 +1,5 @@
 /* mz_zip.h -- Zip manipulation
-   Version 2.1.0, October 20th, 2017
+   Version 2.1.1, October 21st, 2017
    part of the MiniZip project
 
    Copyright (C) 2012-2017 Nathan Moinvaziri