ckolivas / lrzip

Long Range Zip
http://lrzip.kolivas.org
GNU General Public License v2.0
619 stars 76 forks source link

Input data from pipe creates an empty archive #15

Closed crogre closed 11 years ago

crogre commented 11 years ago

Submitting input data from a pipe (bash, Mac OS X 10.8.3) gives an archive which when decrypted only contains zeroes:

> cat text.txt | lrzip -o archive.lrz
> lrunzip archive.lrz
> od archive
0000000    000000  000000  000000  000000  000000  000000  000000  000000
*
2071040

(2071040 is not important, just the size of my test file)

Same goes for using lrztar - I get very very small compressed files which when uncompressed only contains zeroes.

ckolivas commented 11 years ago

Someone is currently hacking on OSX pipe support. It does indeed appear broken.

ckolivas commented 11 years ago

Should be fixed in git now.

crogre commented 11 years ago

It is indeed fixed, I just confirmed with 0.616. Big thanks!