From 89153cef4847a716a7080193b6575942be745b47 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 18 Oct 2015 04:18:41 +0000 Subject: [PATCH] sorry, sdiff -o interactive mode does another spawn --- usr.bin/sdiff/sdiff.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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]); -- 2.20.1