ifix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03 - 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 f63edd593dfcaa84b30958d845fa85eaffc664b0 /scm/stagit-gopher/commit/f63edd593dfcaa84b30958d845fa85eaffc664b0.gph bitreich.org 70 1parent 6e5e218b697ffb8ff1819cbc3b8783f9a7270de2 /scm/stagit-gopher/commit/6e5e218b697ffb8ff1819cbc3b8783f9a7270de2.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Sat, 7 May 2016 13:52:42 +0200 Err bitreich.org 70 i Err bitreich.org 70 ifix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03 Err bitreich.org 70 i Err bitreich.org 70 i... the loop was simplified, but forgot to remove p++ (double used) while Err bitreich.org 70 irebasing the change. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M stagit.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/stagit.c b/stagit.c /scm/stagit-gopher/file/stagit.c.gph bitreich.org 70 i@@ -722,7 +722,6 @@ writeblob(git_object *obj, const char *fpath, const char *filename, git_off_t fi Err bitreich.org 70 i for (p = fpath, tmp[0] = '\0'; *p; p++) { Err bitreich.org 70 i if (*p == '/' && strlcat(tmp, "../", sizeof(tmp)) >= sizeof(tmp)) Err bitreich.org 70 i errx(1, "path truncated: '../%s'", tmp); Err bitreich.org 70 i- p++; Err bitreich.org 70 i } Err bitreich.org 70 i relpath = tmp; Err bitreich.org 70 i Err bitreich.org 70 .