| # | Line 15 | Line 15 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 15 | #include "selcall.h" | |
| 16 | #include "netproc.h" | |
| 17 | #include "paths.h" | |
| 18 | – | #include "vfork.h" |
| 18 | ||
| 19 | PSERVER *pslist = NULL; /* global process server list */ | |
| 20 | ||
| # | Line 173 | Line 172 | int (*compf)(); | |
| 172 | exit(1); | |
| 173 | } | |
| 174 | /* start child process */ | |
| 175 | < | if ((pid = vfork()) == 0) { |
| 175 | > | if ((pid = fork()) == 0) { |
| 176 | close(pfd[0]); /* connect stderr to pipe */ | |
| 177 | if (pfd[1] != 2) { | |
| 178 | dup2(pfd[1], 2); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |