Don't use zip_fopen in zip_source_zip, use new internal function _zip_source_zip_new in both.
Fix errors in zip_close by also using _zip_source_zip_new.
Other semi-related bug fixes.

--HG--
branch : HEAD
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 4780b71..9cde52d 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -115,7 +115,9 @@
   zip_source_pop.c
   zip_source_read.c
   zip_source_stat.c
+  zip_source_window.c
   zip_source_zip.c
+  zip_source_zip_new.c
   zip_stat.c
   zip_stat_index.c
   zip_stat_init.c