From 2933a6fa9be133aac2ebdefeedc048d98cbdd6d2 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Wed, 10 Mar 2004 14:20:50 +0000 Subject: [PATCH] Detect a new kind of Zip format (PK00). git-svn-id: https://rox.svn.sourceforge.net/svnroot/rox/trunk/Archive@3364 66de3db3-b00d-0410-b41b-f4738ad19bea --- Help/Changes | 4 ++++ formats.py | 1 + 2 files changed, 5 insertions(+) diff --git a/Help/Changes b/Help/Changes index 794fead..bc720e3 100644 --- a/Help/Changes +++ b/Help/Changes @@ -4,6 +4,10 @@ * unrar can infinite loop asking for confirm to terminal? * +10-Mar-2004 +~~~~~~~~~~~ +Detect a new kind of Zip format (PK00). + 08-Mar-2004 ~~~~~~~~~~~ Added German translation (Guido Schimmels). diff --git a/formats.py b/formats.py index b0d3d74..f085dde 100644 --- a/formats.py +++ b/formats.py @@ -248,6 +248,7 @@ class FileData: return deb if string(0, 'Rar!'): return rar if string(0, 'PK\003\004'): return zip + if string(0, 'PK00'): return zip if string(0, '\xed\xab\xee\xdb'): return rpm # Compressed streams -- 2.11.4.GIT