Return to proto.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.22, 2004/08/12 20:09:40 | version 1.23, 2004/08/13 02:57:28 | ||
---|---|---|---|
|
|
||
} | } | ||
if (pid == 0) { | if (pid == 0) { | ||
if ((dup2(infd[0], STDIN_FILENO) == -1) || | if ((dup2(infd[0], STDIN_FILENO) == -1) || | ||
(dup2(outfd[1], STDOUT_FILENO) == -1) || | (dup2(outfd[1], STDOUT_FILENO) == -1)) { | ||
(dup2(errfd[1], STDERR_FILENO) == -1)) { | |||
cvs_log(LP_ERRNO, | cvs_log(LP_ERRNO, | ||
"failed to setup standard streams for cvs server"); | "failed to setup standard streams for cvs server"); | ||
return (-1); | return (-1); |