flycrane / lz4

Automatically exported from code.google.com/p/lz4
0 stars 0 forks source link

Force should pass thru bytes unchanged #154

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. lz4 -cdf on a non-lz4 file, or lz4cat -f on non-lz4 file 

What is the expected output? What do you see instead?

If -f is supplied to 'gzip', 'bzip2' or 'xz' type compressors along with the -c 
and -d options then if the compressor cannot recognise the magic number of the 
file, it passes the bytes through unchanged rather than generating an error. 

This is so the compressors can be strung together in a pipeline. It would be 
useful if lz4 could follow that convention. 

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by n...@aldur.co.uk on 3 Feb 2015 at 11:57

GoogleCodeExporter commented 8 years ago
This is interesting. I wasn't aware of such scenario and behavior. I'll look 
into it.

Original comment by yann.col...@gmail.com on 3 Feb 2015 at 4:13

GoogleCodeExporter commented 8 years ago

Original comment by yann.col...@gmail.com on 3 Feb 2015 at 4:14

GoogleCodeExporter commented 8 years ago

Original comment by yann.col...@gmail.com on 10 Feb 2015 at 9:44

GoogleCodeExporter commented 8 years ago
Preliminary support for "pass-through" mode
available within latest "dev" branch on github :
https://github.com/Cyan4973/lz4/tree/dev

Original comment by yann.col...@gmail.com on 16 Mar 2015 at 7:40

GoogleCodeExporter commented 8 years ago
Integrated into r128

Original comment by yann.col...@gmail.com on 31 Mar 2015 at 1:37