Return to child.c CVS log | Up to [local] / src / usr.bin / rdist |
version 1.22, 2014/07/05 07:25:27 | version 1.23, 2014/07/05 07:57:43 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
static CHILD newchild; | static CHILD newchild; | ||
#if defined(FORK_MISSES) | |||
/* | |||
* XXX Some OS's have a bug where fork does not | |||
* always return properly to the parent | |||
* when a number of forks are done very quicky. | |||
*/ | |||
sleep(2); | |||
#endif /* FORK_MISSES */ | |||
/* Receive notification when the child exits */ | /* Receive notification when the child exits */ | ||
(void) signal(SIGCHLD, reap); | (void) signal(SIGCHLD, reap); | ||