SMOLNET PORTAL home about changes
isimplify range check - stagit-gopher - A git gopher frontend. (mirror)	Err	bitreich.org	70
hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/	URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/	bitreich.org	70
1Log	/scm/stagit-gopher/log.gph	bitreich.org	70
1Files	/scm/stagit-gopher/files.gph	bitreich.org	70
1Refs	/scm/stagit-gopher/refs.gph	bitreich.org	70
1Tags	/scm/stagit-gopher/tag	bitreich.org	70
1README	/scm/stagit-gopher/file/README.gph	bitreich.org	70
1LICENSE	/scm/stagit-gopher/file/LICENSE.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit d0d070040d949d825c4464022d0d43cb1582db1f	/scm/stagit-gopher/commit/d0d070040d949d825c4464022d0d43cb1582db1f.gph	bitreich.org	70
1parent b03612ce75b2f5d2062897394375bd1f9bbf0e60	/scm/stagit-gopher/commit/b03612ce75b2f5d2062897394375bd1f9bbf0e60.gph	bitreich.org	70
hAuthor: Hiltjo Posthuma <hiltjo@codemadness.org>	URL:mailto:hiltjo@codemadness.org	bitreich.org	70
iDate:   Wed, 22 Aug 2018 18:26:37 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
isimplify range check	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M stagit-gopher.c                     |       5 +----	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 1 insertion(+), 4 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/stagit-gopher.c b/stagit-gopher.c	/scm/stagit-gopher/file/stagit-gopher.c.gph	bitreich.org	70
i@@ -1133,10 +1133,7 @@ main(int argc, char *argv[])	Err	bitreich.org	70
i                         errno = 0;	Err	bitreich.org	70
i                         nlogcommits = strtoll(argv[++i], &p, 10);	Err	bitreich.org	70
i                         if (argv[i][0] == '\0' || *p != '\0' ||	Err	bitreich.org	70
i-                            nlogcommits <= 0)	Err	bitreich.org	70
i-                                usage(argv[0]);	Err	bitreich.org	70
i-                        if (errno == ERANGE && (nlogcommits == LLONG_MAX ||	Err	bitreich.org	70
i-                            nlogcommits == LLONG_MIN))	Err	bitreich.org	70
i+                            nlogcommits <= 0 || errno)	Err	bitreich.org	70
i                                 usage(argv[0]);	Err	bitreich.org	70
i                 }	Err	bitreich.org	70
i         }	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/stagit-gopher/commit/d0d07004...
Content-Typetext/plain; charset=utf-8