From: deraadt Date: Sun, 18 Oct 2015 04:18:41 +0000 (+0000) Subject: sorry, sdiff -o interactive mode does another spawn X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=89153cef4847a716a7080193b6575942be745b47;p=openbsd sorry, sdiff -o interactive mode does another spawn --- diff --git a/usr.bin/sdiff/sdiff.c b/usr.bin/sdiff/sdiff.c index 07eb5c3d340..0f70309a320 100644 --- a/usr.bin/sdiff/sdiff.c +++ b/usr.bin/sdiff/sdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdiff.c,v 1.34 2015/10/15 23:06:46 deraadt Exp $ */ +/* $OpenBSD: sdiff.c,v 1.35 2015/10/18 04:18:41 deraadt Exp $ */ /* * Written by Raymond Lai . @@ -314,9 +314,6 @@ main(int argc, char **argv) err(2, "could not fork"); } - if (pledge("stdio rpath wpath cpath", NULL) == -1) - err(1, "pledge"); - /* parent */ /* We don't write to the pipe. */ close(fd[1]);