[BACK]Return to child.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rdist

Diff for /src/usr.bin/rdist/child.c between version 1.22 and 1.23

version 1.22, 2014/07/05 07:25:27 version 1.23, 2014/07/05 07:57:43
Line 462 
Line 462 
                  */                   */
                 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);
   

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23