From: Reuben Thomas Date: Mon, 18 Feb 2008 13:27:36 +0000 (+0000) Subject: Attempt to make LZMA work better, by observation: simply cut off the X-Git-Tag: FILE5_05~473 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=699369f83910c23272232497eb958b17a947c705;p=file 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. --- 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