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
This commit is contained in:
Dominik Riebeling 2009-04-26 13:05:33 +00:00
parent f43515eaf7
commit fe1f8d545f

View file

@ -128,7 +128,12 @@
versions from 2.1 to 2.7 may use unsupported compression methods versions from 2.1 to 2.7 may use unsupported compression methods
versions after 2.7 may have an incompatible header format 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 //! Full compatibility granted until this version
#define UNZIP_VERSION_STRICT 0x14 #define UNZIP_VERSION_STRICT 0x14