summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-04-26 13:05:33 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-04-26 13:05:33 +0000
commitfe1f8d545f648c0dc39ab798f2ea9f256a62e8ff (patch)
tree9f626a39813a944e215134029b6046cf4ea84bc4
parentf43515eaf70e661bf53691e2a9d67291f7ed062b (diff)
downloadrockbox-fe1f8d545f648c0dc39ab798f2ea9f256a62e8ff.tar.gz
rockbox-fe1f8d545f648c0dc39ab798f2ea9f256a62e8ff.zip
Let unzip class accept files created by Info-Zip 3.0 instead of rejecting the files without reporting an error. Seems to not cause negative side effects but further investigation needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20803 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/zip/unzip.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/zip/unzip.cpp b/rbutil/rbutilqt/zip/unzip.cpp
index a0a60db84b..8c4028b40c 100644
--- a/rbutil/rbutilqt/zip/unzip.cpp
+++ b/rbutil/rbutilqt/zip/unzip.cpp
@@ -128,7 +128,12 @@
128 versions from 2.1 to 2.7 may use unsupported compression methods 128 versions from 2.1 to 2.7 may use unsupported compression methods
129 versions after 2.7 may have an incompatible header format 129 versions after 2.7 may have an incompatible header format
130*/ 130*/
131#define UNZIP_VERSION 0x1B 131/* NOTE: changed to 0x1e as info-zip 3.0 uses that header type which breaks
132 * usage. Extraction seems to work fine with the value increased.
133 * No guarantees though.
134 */
135//#define UNZIP_VERSION 0x1B
136#define UNZIP_VERSION 0x1e
132//! Full compatibility granted until this version 137//! Full compatibility granted until this version
133#define UNZIP_VERSION_STRICT 0x14 138#define UNZIP_VERSION_STRICT 0x14
134 139