| # | Line 58 | Line 58 | open_process( /* open communication to separate proce | |
|---|---|---|
| 58 | p1[1] = pd->w; | |
| 59 | } else if (pipe(p1) < 0) | |
| 60 | return(-1); | |
| 61 | – | #ifdef BSD |
| 62 | – | if (compath != NULL) |
| 63 | – | pd->pid = vfork(); /* more efficient with exec() */ |
| 64 | – | else |
| 65 | – | #endif |
| 61 | pd->pid = fork(); | |
| 62 | if (pd->pid == 0) { /* if child... */ | |
| 63 | close(p0[1]); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |