| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix test mode to not always return success.
Don't ask for permission to overwrite `nulmark`.
Before:
> echo "hello world" > file
> lz4 -t file
successfully decoded 12 bytes
> lz4 -tf file
successfully decoded 12 bytes
> lz4 file null
Warning : /dev/null already exists
Overwrite ? (Y/n) : n
Error 12 : No. Operation aborted : /dev/null already exists
> lz4 file /dev/null
Warning : /dev/null already exists
Overwrite ? (Y/n) : n
Error 12 : No. Operation aborted : /dev/null already exists
After:
> lz4 -t file
Error 44 : Unrecognized header : file cannot be decoded
> lz4 -tf file
Error 44 : Unrecognized header : file cannot be decoded
> lz4 file null
Compressed 12 bytes into 31 bytes ==> 258.33%
> lz4 file /dev/null
Compressed 12 bytes into 31 bytes ==> 258.33%
|
| |
|
|
|
|
| |
multiple files with the -m switch added in r128 (ref: google code issue 151). Limitation: will only process files matching LZ4_EXTENSION macro, which for now seems reasonable.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Gc issue/155
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://code.google.com/p/lz4/issues/detail?id=155
This is experimental implementation. Just a proof of concept.
It works Linux and Windows.
# Build
To build experimental version, define 'LZ4IO_ENABLE_SPARSE_FILE' like the following command :
make lz4programs 'CFLAGS=-O3 -DLZ4IO_ENABLE_SPARSE_FILE=1'
./programs/lz4 -h
You will see "EXPERIMENTAL_SPARSE_FILE" as lz4 revision :
"*** LZ4 command line interface 64-bits EXPERIMENTAL_SPARSE_FILE, by Yann Collet (...) ***"
# Experiment
This experimental version adds option "-x" for sparse file for decompression.
You can use this option like this :
./programs/lz4 -9 -f my-file
./programs/lz4 -d -f -x my-file.lz4 my-file.lz4.out
cmp my-file my-file.lz4.out
|
|/ |
|
| |
|
| |
|
|
Croizier !
LZ4HC : Compression Level is now a programmable parameter (CLI from 4 to 9)
Separated IO routines from command line (lz4io.c)
Version number into lz4.h (suggested by Francesc Alted)
git-svn-id: https://lz4.googlecode.com/svn/trunk@113 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
|