Bump file version.
This commit is contained in:
parent
5f41057f9c
commit
3b83bc2d4e
3 changed files with 5 additions and 2 deletions
|
@ -25,6 +25,9 @@ modes in which multiple algorithms are tried per chunk to determine the best
|
||||||
one for the given chunk. Finally it supports 14 compression levels to allow
|
one for the given chunk. Finally it supports 14 compression levels to allow
|
||||||
for ultra compression modes in some algorithms.
|
for ultra compression modes in some algorithms.
|
||||||
|
|
||||||
|
NOTE: This utility is Not an archiver. It compresses only single files or
|
||||||
|
datastreams. To archive use something else like tar, cpio or pax.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|
|
2
main.c
2
main.c
|
@ -501,7 +501,7 @@ start_decompress(const char *filename, const char *to_filename)
|
||||||
chunksize = ntohll(chunksize);
|
chunksize = ntohll(chunksize);
|
||||||
level = ntohl(level);
|
level = ntohl(level);
|
||||||
|
|
||||||
if (version != VERSION) {
|
if (version < VERSION-1) {
|
||||||
fprintf(stderr, "Unsupported version: %d\n", version);
|
fprintf(stderr, "Unsupported version: %d\n", version);
|
||||||
err = 1;
|
err = 1;
|
||||||
goto uncomp_done;
|
goto uncomp_done;
|
||||||
|
|
|
@ -37,7 +37,7 @@ extern "C" {
|
||||||
#define CHDR_SZ 1
|
#define CHDR_SZ 1
|
||||||
#define ALGO_SZ 8
|
#define ALGO_SZ 8
|
||||||
#define MIN_CHUNK 2048
|
#define MIN_CHUNK 2048
|
||||||
#define VERSION 2
|
#define VERSION 3
|
||||||
#define FLAG_DEDUP 1
|
#define FLAG_DEDUP 1
|
||||||
#define UTILITY_VERSION 0.7
|
#define UTILITY_VERSION 0.7
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue