SMOLNET PORTAL home about changes
iNo need to set csize to 0 when the call fails - 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 c86adacd4c9ec47d68823fbb768ec3fc7e5c23c0	/scm/dedup/commit/c86adacd4c9ec47d68823fbb768ec3fc7e5c23c0.gph	bitreich.org	70
1parent 7102fc953fa622740207fbe9bce945d33aa9105e	/scm/dedup/commit/7102fc953fa622740207fbe9bce945d33aa9105e.gph	bitreich.org	70
hAuthor: sin <sin@2f30.org>	URL:mailto:sin@2f30.org	bitreich.org	70
iDate:   Fri, 17 May 2019 16:41:53 +0300	Err	bitreich.org	70
i	Err	bitreich.org	70
iNo need to set csize to 0 when the call fails	Err	bitreich.org	70
i	Err	bitreich.org	70
iThe caller should not inspect the argument if the call fails.	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M chunker.c                           |       1 -	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 0 insertions(+), 1 deletion(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/chunker.c b/chunker.c	/scm/dedup/file/chunker.c.gph	bitreich.org	70
i@@ -174,7 +174,6 @@ cget(struct chunker *c, size_t *csize)	Err	bitreich.org	70
i         unsigned char *bp;	Err	bitreich.org	70
i 	Err	bitreich.org	70
i         if (c->rp == c->wp) {	Err	bitreich.org	70
i-                *csize = 0;	Err	bitreich.org	70
i                 seterr("chunker underflow");	Err	bitreich.org	70
i                 return NULL;	Err	bitreich.org	70
i         }	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/dedup/commit/c86adacd4c9ec47d...
Content-Typetext/plain; charset=utf-8