| # | Line 172 | 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) |