[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lzip-bug] lzip support in file(1)/magic(5)
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Lzip-bug] lzip support in file(1)/magic(5) |
Date: |
Fri, 28 Nov 2008 01:02:03 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Jan,
Jan Engelhardt wrote:
wanting to let you know that the following patch has been submitted to
the file(1) maintainer.
Thanks! Just yesterday Christos accepted this patch from me:
---------------------------------------------------------------------
diff -u file-4.26/magic/Magdir/compress file-4.26.new/magic/Magdir/compress
--- file-4.26/magic/Magdir/compress 2008-05-22 20:59:35.000000000 +0200
+++ file-4.26.new/magic/Magdir/compress 2008-11-25 21:56:54.000000000 +0100
@@ -76,6 +76,11 @@
!:mime application/x-bzip2
>3 byte >47 \b, block size = %c00k
+# lzip
+0 string LZIP lzip compressed data
+!:mime application/x-lzip
+>4 byte x \b, version: %d
+
# squeeze and crunch
# Michael Haardt <address@hidden>
0 beshort 0x76FF squeezed data,
---------------------------------------------------------------------
Yours is more complete. I didn't include the dictionary size because it
may move in a future version (very unlikely) and because it is not easy
to display it in human-understandable form.
Thanks,
Antonio.