]> icculus.org git repositories - icculus/xz.git/commit
Make "xz --decompress --stdout --force" copy unrecognized
authorLasse Collin <lasse.collin@tukaani.org>
Fri, 3 Jul 2009 21:40:44 +0000 (00:40 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 3 Jul 2009 21:40:44 +0000 (00:40 +0300)
commit18c10c30d2833f394cd7bce0e6a821044b15832f
tree2e47d62ea90449ed8c411c39b506a379f3c5f9da
parent0a289c01ac821ea9c4250aa906b0ae3cfa953633
Make "xz --decompress --stdout --force" copy unrecognized
files as is to standard output.

This feature is needed to be more compatible with gzip's
behavior. This was more complicated to implement than it
sounds, because the way liblzma is able to return errors with
files of only a few bytes in size. xz now has its own file
type detection code and no longer uses lzma_auto_decoder().
src/xz/coder.c