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

Diff for /src/usr.bin/rdist/rdist.c between version 1.20 and 1.21

version 1.20, 2011/04/10 15:47:28 version 1.21, 2011/04/21 02:44:15
Line 42 
Line 42 
 char           *distfile = NULL;                /* Name of distfile to use */  char           *distfile = NULL;                /* Name of distfile to use */
 int             maxchildren = MAXCHILDREN;      /* Max no of concurrent PIDs */  int             maxchildren = MAXCHILDREN;      /* Max no of concurrent PIDs */
 int             nflag = 0;                      /* Say without doing */  int             nflag = 0;                      /* Say without doing */
 long            min_freespace = 0;              /* Min filesys free space */  int64_t         min_freespace = 0;              /* Min filesys free space */
 long            min_freefiles = 0;              /* Min filesys free # files */  int64_t         min_freefiles = 0;              /* Min filesys free # files */
 FILE           *fin = NULL;                     /* Input file pointer */  FILE           *fin = NULL;                     /* Input file pointer */
 char            localmsglist[] = "stdout=all:notify=all:syslog=nerror,ferror";  char            localmsglist[] = "stdout=all:notify=all:syslog=nerror,ferror";
 char           *remotemsglist = NULL;  char           *remotemsglist = NULL;
Line 169 
Line 169 
                                                  "'%s'", errstr, optarg);                                                   "'%s'", errstr, optarg);
                         }                          }
                         else if (c == 'A') {                          else if (c == 'A') {
                                 min_freefiles = (u_int64_t)strtonum(optarg,                                  min_freefiles = (int64_t)strtonum(optarg,
                                         0, LLONG_MAX, &errstr);                                          0, LLONG_MAX, &errstr);
                                 if (errstr)                                  if (errstr)
                                         fatalerr("Minimum free files is %s: "                                          fatalerr("Minimum free files is %s: "

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21