iFix allocation size - 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 696c1e07ef2ef69da9050c37c346f6ec62fbeeb8 /scm/dedup/commit/696c1e07ef2ef69da9050c37c346f6ec62fbeeb8.gph bitreich.org 70 1parent 2bd17f0fc119a96101741081d04a0d236bc96861 /scm/dedup/commit/2bd17f0fc119a96101741081d04a0d236bc96861.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Fri, 26 Apr 2019 16:02:15 +0100 Err bitreich.org 70 i Err bitreich.org 70 iFix allocation size Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M snap.c | 2 +- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/snap.c b/snap.c /scm/dedup/file/snap.c.gph bitreich.org 70 i@@ -148,7 +148,7 @@ sopen(char *path, int flags, int mode, struct sctx **sctx) Err bitreich.org 70 i if (fd < 0) Err bitreich.org 70 i return -1; Err bitreich.org 70 i Err bitreich.org 70 i- *sctx = calloc(1, sizeof(*sctx)); Err bitreich.org 70 i+ *sctx = calloc(1, sizeof(**sctx)); Err bitreich.org 70 i if (*sctx == NULL) { Err bitreich.org 70 i close(fd); Err bitreich.org 70 i return -1; Err bitreich.org 70 .