[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.51 and 1.52

version 1.51, 2005/01/12 20:10:09 version 1.52, 2005/01/24 16:41:28
Line 910 
Line 910 
                                 else                                  else
                                         cfp->cf_cvstat = CVS_FST_MODIFIED;                                          cfp->cf_cvstat = CVS_FST_MODIFIED;
                         }                          }
   
                         cvs_ent_remove(CVS_DIR_ENTRIES(parent),  
                             CVS_FILE_NAME(cfp));  
                 }                  }
         } else {          } else {
                 if (ent == NULL) {                  if (ent == NULL) {
Line 923 
Line 920 
                 } else                  } else
                         cfp->cf_cvstat = CVS_FST_LOST;                          cfp->cf_cvstat = CVS_FST_LOST;
         }          }
   
           if (ent != NULL)
                   cvs_ent_remove(CVS_DIR_ENTRIES(parent), CVS_FILE_NAME(cfp));
   
         if ((cfp->cf_type == DT_DIR) && (cvs_file_getdir(cfp, flags) < 0)) {          if ((cfp->cf_type == DT_DIR) && (cvs_file_getdir(cfp, flags) < 0)) {
                 cvs_file_free(cfp);                  cvs_file_free(cfp);

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52