summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/io.c b/io.c
index b99580f0a3..48a23c927c 100644
--- a/io.c
+++ b/io.c
@@ -55,9 +55,6 @@ struct timeval {
};
#endif
#endif
-#ifdef HAVE_VFORK_H
-#include <vfork.h>
-#endif
#include <sys/stat.h>
@@ -1686,7 +1683,7 @@ pipe_open(pname, mode)
}
retry:
- switch (pid = (doexec?vfork():fork())) {
+ switch ((pid = fork())) {
case 0: /* child */
if (modef & FMODE_READABLE) {
close(pr[0]);