Introduction
Introduction Statistics Contact Development Disclaimer Help
stagit-gopher-index: pledge after git_libgit2_init - stagit-gopher - static git…
git clone git://git.codemadness.org/stagit-gopher
Log
Files
Refs
README
LICENSE
---
commit 249271be279ada1e7323f413ab41db3a3b99fac9
parent 8e525dddbb0022a62f969efa1f9aeb30533a3a61
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 6 Apr 2018 19:29:10 +0200
stagit-gopher-index: pledge after git_libgit2_init
Diffstat:
M stagit-gopher-index.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c
@@ -220,13 +220,13 @@ main(int argc, char *argv[])
const char *repodir = NULL;
int i, ret = 0;
- if (pledge("stdio rpath", NULL) == -1)
- err(1, "pledge");
-
setlocale(LC_CTYPE, "");
git_libgit2_init();
+ if (pledge("stdio rpath", NULL) == -1)
+ err(1, "pledge");
+
for (i = 1; i < argc; i++) {
if (argv[i][0] == '-') {
if (argv[i][1] != 'b' || i + 1 >= argc)
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.