Menu

#25 PATCH: (partial) Lzip support

open
nobody
None
5
2009-08-31
2009-08-31
No

LZIP is a competing LZMA compression. (see:
http://www.nongnu.org/lzip/lzip.html\)
it is gaining ground, especially since it made it into a major linux magazine
(Linux Format I believe).

There are even some lzma utilities that support processing of lzip archives.
(see: http://lists.gnu.org/archive/html/lzip-bug/2008-12/msg00001.html\)

I have attached my first-round patch and adding lzip support to xarchiver, but
there is still a problem to deal with.

This problem is that the short-hand for lzip: .tlz is the same as the lzma
short hand: .tlz

This means that processing .tlz files, one can expect errors when lzma is
chosen when the file is actually compressed in lzip (and vice-versa).

So there is still some more patching to do, I just am uncertain as to how it
needs to get done.

Discussion

  • Giuseppe Torelli

     
  • Nobody/Anonymous

    As lzip has proper magic bytes, I think Wolfgang Friebel solved the .tlz problem in lesspipe.sh (http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html) by checking first for lzip magic. If the magic test fails for lzip, then it is assumed to be a lzma file.

     

Log in to post a comment.

MongoDB Logo MongoDB