stagit-gopher-index: remove unveil support for argv - stagit-gopher - A git gopher frontend. (mirror)
 (HTM) git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2afab18ce4580fb3be22d6c49380444e9844a3ce
 (DIR) parent 40f49c4d17d2cacc62c64e5f96522c3c14c40ab9
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat,  8 Aug 2020 20:02:07 +0200
       
       stagit-gopher-index: remove unveil support for argv
       
       This can reach the unveil argument limits and it is not a good case for using
       unveil.
       
       Diffstat:
         M stagit-gopher-index.c               |       4 ----
       
       1 file changed, 0 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c
       @@ -214,10 +214,6 @@ main(int argc, char *argv[])
                git_libgit2_init();
        
        #ifdef __OpenBSD__
       -        for (i = 1; i < argc; i++)
       -                if (unveil(argv[i], "r") == -1)
       -                        err(1, "unveil: %s", argv[i]);
       -
                if (pledge("stdio rpath", NULL) == -1)
                        err(1, "pledge");
        #endif