From 7c80dacd37f7d44b5ff465287a496c8883a59c6d Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sat, 19 Apr 2008 14:46:28 +0000 Subject: [PATCH] fixes from ALex Cheung. --- magic/Magdir/archive | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/magic/Magdir/archive b/magic/Magdir/archive index 8cb98590..1a90625d 100644 --- a/magic/Magdir/archive +++ b/magic/Magdir/archive @@ -566,7 +566,7 @@ !:mime application/zip >4 byte 0x09 Zip archive data, at least v0.9 to extract !:mime application/zip ->4 byte 0x0a Zip archive data, at least v1.0 to extract +>4 BYTE 0x0a Zip archive data, at least v1.0 to extract !:mime application/zip >4 byte 0x0b Zip archive data, at least v1.1 to extract !:mime application/zip @@ -577,8 +577,10 @@ !:mime application/zip # OpenOffice.org / KOffice / StarOffice documents +# Listed here because they ARE zip files +# # From: Abel Cheung -# Listed here because they are basically zip files +>4 byte 0x14 >>30 string mimetype # KOffice (1.2 or above) formats @@ -608,6 +610,7 @@ >>>>>69 byte !0x2e presentation >>>>>69 string .template template >>>>62 string math Math document +>>>>62 string base Database file # OpenDocument formats (for OpenOffice 2.x / StarOffice >= 8) # http://lists.oasis-open.org/archives/office/200505/msg00006.html -- 2.40.0