Sparse file by default is breaking pipelines

92 views
Skip to first unread message

Charles Vejnar

unread,
May 20, 2015, 7:27:37 PM5/20/15
to lz...@googlegroups.com
Hi,

I recently updated to r129. Every script using lz4cat with a redirection (pipe) is now failing with:
Error 68 : Skip error (sparse file)

$ lz4 readme.txt
$ lz4cat readme.txt.lz4 | head
Error 68 : Skip error (sparse file)

I don't understand how this option can be made default. Many programs using lz4 compression rely on piping the output of lz4cat! They are now broken.

Could this please be reverted to disable sparse file
by default?

Charles

Yann Collet

unread,
May 20, 2015, 7:32:26 PM5/20/15
to lz...@googlegroups.com, charles...@gmail.com
Hi Charles


This bug has been detected and corrected.

The latest source code in the "dev" branch,
available at : 
corrects it.

The test suite has also been upgraded to detect such case from now on.

Temporary work around is to use --no-sparse command line option.
The work around will also remain fully compatible with future versions r130+.


Regards

Charles Vejnar

unread,
May 20, 2015, 7:45:19 PM5/20/15
to lz...@googlegroups.com, charles...@gmail.com
Thanks Yann. This bug wasn't an "Issue" in Github explaining why I didn't find it, sorry.

Charles
Reply all
Reply to author
Forward
0 new messages