iAdd note - 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 4332d126e504bea10eff857f21e2ea7c3d341a96 /scm/dedup/commit/4332d126e504bea10eff857f21e2ea7c3d341a96.gph bitreich.org 70 1parent 27d4cd35a9abcf80ec50ae3a55fff5fc22dd3e99 /scm/dedup/commit/27d4cd35a9abcf80ec50ae3a55fff5fc22dd3e99.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Wed, 21 Mar 2018 10:25:16 +0000 Err bitreich.org 70 i Err bitreich.org 70 iAdd note Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M dedup.c | 2 ++ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 2 insertions(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/dedup.c b/dedup.c /scm/dedup/file/dedup.c.gph bitreich.org 70 i@@ -329,6 +329,8 @@ check(void) Err bitreich.org 70 i for (j = 0; j < ent->nblks; j++) { Err bitreich.org 70 i struct blk blk; Err bitreich.org 70 i Err bitreich.org 70 i+ /* XXX: If there's file corruption, ent->blks[j] Err bitreich.org 70 i+ * could point anywhere */ Err bitreich.org 70 i read_blk(&blk, ent->blks[j]); Err bitreich.org 70 i SHA256_Update(&ctx, blk.data, blk.sz); Err bitreich.org 70 i } Err bitreich.org 70 .