diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-04-26 13:05:33 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-04-26 13:05:33 +0000 |
| commit | fe1f8d545f648c0dc39ab798f2ea9f256a62e8ff (patch) | |
| tree | 9f626a39813a944e215134029b6046cf4ea84bc4 | |
| parent | f43515eaf70e661bf53691e2a9d67291f7ed062b (diff) | |
| download | rockbox-fe1f8d545f648c0dc39ab798f2ea9f256a62e8ff.zip rockbox-fe1f8d545f648c0dc39ab798f2ea9f256a62e8ff.tar.gz rockbox-fe1f8d545f648c0dc39ab798f2ea9f256a62e8ff.tar.bz2 rockbox-fe1f8d545f648c0dc39ab798f2ea9f256a62e8ff.tar.xz | |
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.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/zip/unzip.cpp b/rbutil/rbutilqt/zip/unzip.cpp index a0a60db..8c4028b 100644 --- a/rbutil/rbutilqt/zip/unzip.cpp +++ b/rbutil/rbutilqt/zip/unzip.cpp @@ -128,7 +128,12 @@ versions from 2.1 to 2.7 may use unsupported compression methods versions after 2.7 may have an incompatible header format */ -#define UNZIP_VERSION 0x1B +/* NOTE: changed to 0x1e as info-zip 3.0 uses that header type which breaks + * usage. Extraction seems to work fine with the value increased. + * No guarantees though. + */ +//#define UNZIP_VERSION 0x1B +#define UNZIP_VERSION 0x1e //! Full compatibility granted until this version #define UNZIP_VERSION_STRICT 0x14 |