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

Diff for /src/usr.bin/cvs/file.c between version 1.92 and 1.93

version 1.92, 2005/07/05 16:55:30 version 1.93, 2005/07/07 14:27:57
Line 788 
Line 788 
   
                         if (cfp->cf_type != DT_DIR) {                          if (cfp->cf_type != DT_DIR) {
                                 SIMPLEQ_INSERT_TAIL(&(cf->cf_files), cfp,                                  SIMPLEQ_INSERT_TAIL(&(cf->cf_files), cfp,
                                     cf_list);                                      cf_list);
                                 nfiles++;                                  nfiles++;
                         }                          }
                 } else {                  } else {
Line 848 
Line 848 
   
                         if (cfp->cf_type == DT_DIR) {                          if (cfp->cf_type == DT_DIR) {
                                 ndirs++;                                  ndirs++;
                                 SIMPLEQ_INSERT_TAIL(&dirs, cfp,                                  SIMPLEQ_INSERT_TAIL(&dirs, cfp,
                                     cf_list);                                      cf_list);
                         } else {                          } else {
                                 /* callback for the file */                                  /* callback for the file */
Line 1116 
Line 1116 
                         else if (ent->ce_type == CVS_ENT_DIR)                          else if (ent->ce_type == CVS_ENT_DIR)
                                 cfp->cf_type = DT_DIR;                                  cfp->cf_type = DT_DIR;
                         else                          else
                                 cvs_log(LP_WARN, "unknown ce_type %d",                                  cvs_log(LP_WARN, "unknown ce_type %d",
                                     ent->ce_type);                                      ent->ce_type);
   
                         if (ent->ce_status == CVS_ENT_REMOVED)                          if (ent->ce_status == CVS_ENT_REMOVED)
Line 1240 
Line 1240 
                         cvs_log(LP_ERR, "failed to prune `%s'", path);                          cvs_log(LP_ERR, "failed to prune `%s'", path);
                         empty = 0;                          empty = 0;
                 }                  }
         }          }
   
         return (empty);          return (empty);
 }  }

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93