stagit

git site generator
Contents

stagit-index: remove unveil support for argv

This can reach the unveil argument limits and it is not a good case for using
unveil.

Hiltjo Posthuma hiltjo@codemadness.org

commit: e459ff3 parent: 3a335f4
1 files changed, 0 insertions(+), 4 deletions(-)
Mstagit-index.c+0-4
M · stagit-index.c +0, -4
 1@@ -154,10 +154,6 @@ main(int argc, char *argv[])
 2 git_libgit2_init();
 3
 4 #ifdef __OpenBSD__
 5- for (i = 1; i < argc; i++)
 6- if (unveil(argv[i],
"r") == -1)
 7- err(1,
"unveil: %s", argv[i]);
 8-
 9 if (pledge("stdio rpath", NULL) ==
-1)
10 err(1,
"pledge");
11 #endif