From 0abeaa1b2c7473846f504c40fdfe99621a5f9061 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Mon, 18 Feb 2008 13:27:36 +0000 Subject: [PATCH] Attempt to make LZMA work better, by observation: simply cut off the bytes that don't match an arbitrary file I made. 5 bytes is still enough for binary magic. --- magic/Magdir/compress | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/magic/Magdir/compress b/magic/Magdir/compress index 1ac63e39..fd5fa8ba 100644 --- a/magic/Magdir/compress +++ b/magic/Magdir/compress @@ -184,8 +184,8 @@ # Type: LZMA # URL: http://www.7-zip.org/sdk.html -# From: Robert Millan -0 string ]\000\000\200\000\377\377\377\377\377\377\377\377 LZMA compressed data +# From: Robert Millan and Reuben Thomas +0 string ]\000\000\200\000 LZMA compressed data # AFX compressed files (Wolfram Kleff) 2 string -afx- AFX compressed file data -- 2.40.0