![]() ![]() |
![]() |
version 1.7.4.5, 2008/07/02 17:00:10 | version 1.7.4.6, 2008/11/19 01:06:20 | ||
---|---|---|---|
|
| ||
if (pipe(from) != 0) | if (pipe(from) != 0) | ||
{ | { | ||
close(to[0]); | |||
close(to[1]); | |||
status = -1; | status = -1; | ||
break; | break; | ||
} | } | ||
|
| ||
if (pid < 0) | if (pid < 0) | ||
{ | { | ||
Log(LL_SEVERE, "fork failed"); | Log(LL_SEVERE, "fork failed"); | ||
close(to[0]); | |||
close(to[1]); | |||
close(from[0]); | |||
close(from[1]); | |||
status = -1; | status = -1; | ||
break; | break; | ||
} | } | ||
|
| ||
request.module); | request.module); | ||
_exit(1); | _exit(1); | ||
} | } | ||
} | |||
while (0); | |||
/* Close unused pipe descriptors. */ | /* We are the parent process. Close the child's ends of the pipes. */ | ||
close(to[0]); | close(to[0]); | ||
close(from[1]); | close(from[1]); | ||
} | |||
while (0); | |||
/* Send response. */ | /* Send response. */ | ||
|
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |