summaryrefslogtreecommitdiff
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-04 18:11:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-04 18:11:23 +0000
commitdb728ac8d9c0997cd0d1fd9b6d51f87047839f44 (patch)
tree1a323a8160d01bdf52eaada94b661a57e2bceeef /usr.bin/patch/patch.c
parentd05d0452e79c56cabff6a0ba219653251214ff41 (diff)
remove tame "proc". it is not useful, because the "ed" diffs require
fork+execve, and execve is not going to become available in this fashion. ed diffs should be handled using a built-in handler, and various folks have been discussing this behind the scenes.
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r--usr.bin/patch/patch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c
index 80af7fea140..03afc4d8d36 100644
--- a/usr.bin/patch/patch.c
+++ b/usr.bin/patch/patch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: patch.c,v 1.56 2015/10/03 13:49:51 deraadt Exp $ */
+/* $OpenBSD: patch.c,v 1.57 2015/10/04 18:11:22 deraadt Exp $ */
/*
* patch - a program to apply diffs to original files
@@ -147,7 +147,7 @@ main(int argc, char *argv[])
const char *tmpdir;
char *v;
- if (tame("stdio rpath wpath cpath tmppath fattr proc", NULL) == -1)
+ if (tame("stdio rpath wpath cpath tmppath fattr", NULL) == -1)
perror("tame");
setvbuf(stdout, NULL, _IOLBF, 0);