Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding support for multiple file processing. Fixes Google code issue 151. #52
Continuation of my previous PR, which accidentally had all changes in master and the PR targeted master. I'm not spectacular with git, but I think this PR is correct. If I did something wrong or you simply dislike the feature branch, you can just copy the lz4cli.c file out and add it to your local, then push; it's the only file changed.
Added support for multiple input files to act more like other compressors. For example: gzip file1 file2 file3. You can now do: lz4 [args] -m file1 file2 file3. Fixes 151.
Quick question about error case behavior :
Let's suppose we want to compress a list of 6 filenames.
@Cyan4973, it's C99 feature "VLA" (Variable Length Array). Since our
If we will support C89 compilers, intermingled declarations also should be removed.
Since this PR's intention is mimicing gzip, gzip-like behaviour will be expected. In this case, latter is more "gzip-like" behaviour. The following log is my experiment :