iUse an invalid type for the null entry - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 3c2969281c3ae0cfae132373efd20210236abf2f /scm/dedup/commit/3c2969281c3ae0cfae132373efd20210236abf2f.gph bitreich.org 70 1parent c5abbf4d7c2a0129c74f15540e47d58cbf09fb67 /scm/dedup/commit/c5abbf4d7c2a0129c74f15540e47d58cbf09fb67.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Fri, 12 Apr 2019 13:53:32 +0100 Err bitreich.org 70 i Err bitreich.org 70 iUse an invalid type for the null entry Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M compress.c | 2 +- Err bitreich.org 70 i M hash.c | 2 +- Err bitreich.org 70 i Err bitreich.org 70 i2 files changed, 2 insertions(+), 2 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/compress.c b/compress.c /scm/dedup/file/compress.c.gph bitreich.org 70 i@@ -47,7 +47,7 @@ static struct algomap { Err bitreich.org 70 i { .name = "none", .type = COMPR_NONE }, Err bitreich.org 70 i { .name = "lz4", .type = COMPR_LZ4 }, Err bitreich.org 70 i { .name = "snappy", .type = COMPR_SNAPPY }, Err bitreich.org 70 i- { .name = NULL, }, Err bitreich.org 70 i+ { .name = NULL, .type = -1 }, Err bitreich.org 70 i }; Err bitreich.org 70 i Err bitreich.org 70 i int Err bitreich.org 70 1diff --git a/hash.c b/hash.c /scm/dedup/file/hash.c.gph bitreich.org 70 i@@ -43,7 +43,7 @@ static struct algomap { Err bitreich.org 70 i { .name = "blake2bp", .type = HASH_BLAKE2BP }, Err bitreich.org 70 i { .name = "blake2s", .type = HASH_BLAKE2S }, Err bitreich.org 70 i { .name = "blake2sp", .type = HASH_BLAKE2SP }, Err bitreich.org 70 i- { .name = NULL }, Err bitreich.org 70 i+ { .name = NULL, .type = -1 }, Err bitreich.org 70 i }; Err bitreich.org 70 i Err bitreich.org 70 i int Err bitreich.org 70 .