geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit dd3f998b716d869d25af0df0d94685d56e882bd1
parent 3dfa0e1271ad78774a06452913fb30aa0bf25eb0
Author: Quentin Rameau <quinq@fifth.space>
Date:   Wed, 27 Jun 2018 11:08:26 +0200

We don't need to pledge tty anymore since 65f998f

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
main.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/main.c b/main.c @@ -539,10 +539,9 @@ main(int argc, char *argv[]) cltlen = sizeof(clt); #ifdef __OpenBSD__ - char *promises = (char[35]){}; - snprintf(promises, 35, "rpath inet stdio proc exec %s %s", - revlookup ? "dns" : "", - dofork ? "tty" : ""); + char *promises = (char[30]){}; + snprintf(promises, 30, "rpath inet stdio proc exec %s", + revlookup ? "dns" : ""); if (pledge(promises, NULL) == -1) { perror("pledge"); exit(1);