links2

links 2.15+ fork
git clone git://git.codemadness.org/links2
Log | Files | Refs | README

commit b3c111964a23882cc953e4716d4740ca50a31075
parent 43e03ff163ec61d7659e118fea57c2e9fa16da13
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  4 May 2018 13:04:41 +0200

pledge: for now use "unix", needed in links -g

Diffstat:
main.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -573,7 +573,8 @@ main(int argc, char *argv[]) g_argc = argc; g_argv = (unsigned char **)argv; - if (pledge("stdio rpath cpath wpath dns inet tty proc", NULL) < 0) { + /* TODO: remove "unix" later? */ + if (pledge("stdio rpath cpath wpath dns inet tty proc unix", NULL) < 0) { fprintf(stderr, "pledge: %s\n", strerror(errno)); return 1; }