# | Line 229 | Line 229 | startjob( /* start a job on a process server */ | |
---|---|---|
229 | ps->proc[i].pid = pid; | |
230 | close(pfd[1]); /* get piped stderr file descriptor */ | |
231 | ps->proc[i].efd = pfd[0]; | |
232 | < | fcntl(pfd[0], F_SETFD, 1); /* set close on exec flag */ |
232 | > | fcntl(pfd[0], F_SETFD, FD_CLOEXEC); /* set close on exec flag */ |
233 | pindex[pfd[0]] = ps->proc + i; /* assign error fd index */ | |
234 | FD_SET(pfd[0], &errdesc); /* add to select call parameter */ | |
235 | if (pfd[0] > maxfd) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |