# | Line 78 | Line 78 | char *dname, *id; | |
---|---|---|
78 | eputs(": not found\n"); | |
79 | return(NULL); | |
80 | } | |
81 | + | #ifdef RHAS_FORK_EXEC |
82 | /* open communication pipes */ | |
83 | if (pipe(p1) == -1 || pipe(p2) == -1) | |
84 | goto syserr; | |
# | Line 102 | Line 103 | char *dname, *id; | |
103 | syserr: | |
104 | perror(dname); | |
105 | return(NULL); | |
106 | + | |
107 | + | #else /* ! RHAS_FORK_EXEC */ |
108 | + | |
109 | + | eputs(dname); |
110 | + | eputs(": no fork/exec\n"); |
111 | + | return(NULL); |
112 | + | |
113 | + | #endif /* ! RHAS_FORK_EXEC */ |
114 | } | |
115 | ||
116 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |