SMOLNET PORTAL home about changes
istagit-gopher-index: remove unveil support for argv - 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 2afab18ce4580fb3be22d6c49380444e9844a3ce	/scm/stagit-gopher/commit/2afab18ce4580fb3be22d6c49380444e9844a3ce.gph	bitreich.org	70
1parent 40f49c4d17d2cacc62c64e5f96522c3c14c40ab9	/scm/stagit-gopher/commit/40f49c4d17d2cacc62c64e5f96522c3c14c40ab9.gph	bitreich.org	70
hAuthor: Hiltjo Posthuma <hiltjo@codemadness.org>	URL:mailto:hiltjo@codemadness.org	bitreich.org	70
iDate:   Sat,  8 Aug 2020 20:02:07 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
istagit-gopher-index: remove unveil support for argv	Err	bitreich.org	70
i	Err	bitreich.org	70
iThis can reach the unveil argument limits and it is not a good case for using	Err	bitreich.org	70
iunveil.	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M stagit-gopher-index.c               |       4 ----	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 0 insertions(+), 4 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c	/scm/stagit-gopher/file/stagit-gopher-index.c.gph	bitreich.org	70
i@@ -214,10 +214,6 @@ main(int argc, char *argv[])	Err	bitreich.org	70
i         git_libgit2_init();	Err	bitreich.org	70
i 	Err	bitreich.org	70
i #ifdef __OpenBSD__	Err	bitreich.org	70
i-        for (i = 1; i < argc; i++)	Err	bitreich.org	70
i-                if (unveil(argv[i], "r") == -1)	Err	bitreich.org	70
i-                        err(1, "unveil: %s", argv[i]);	Err	bitreich.org	70
i-	Err	bitreich.org	70
i         if (pledge("stdio rpath", NULL) == -1)	Err	bitreich.org	70
i                 err(1, "pledge");	Err	bitreich.org	70
i #endif	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/stagit-gopher/commit/2afab18c...
Content-Typetext/plain; charset=utf-8