[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.24 and 1.25

version 1.24, 2015/01/20 03:55:18 version 1.25, 2015/01/20 09:00:16
Line 29 
Line 29 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
 #include "defs.h"  
   
 /*  /*
  * Functions for rdist related to children   * Functions for rdist related to children
  */   */
Line 39 
Line 37 
 #include <sys/select.h>  #include <sys/select.h>
 #include <sys/wait.h>  #include <sys/wait.h>
   
   #include <errno.h>
   #include <fcntl.h>
   #include <stdlib.h>
   #include <string.h>
   #include <unistd.h>
   
   #include "client.h"
   
 typedef enum _PROCSTATE {  typedef enum _PROCSTATE {
     PSrunning,      PSrunning,
     PSdead      PSdead
Line 58 
Line 64 
   
 static CHILD           *childlist = NULL;       /* List of children */  static CHILD           *childlist = NULL;       /* List of children */
 int                     activechildren = 0;     /* Number of active children */  int                     activechildren = 0;     /* Number of active children */
 extern int              maxchildren;            /* Max active children */  
 static int              needscan = FALSE;       /* Need to scan children */  static int              needscan = FALSE;       /* Need to scan children */
   
 static void removechild(CHILD *);  static void removechild(CHILD *);

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25