[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.55 and 1.56

version 1.55, 2005/03/05 03:00:27 version 1.56, 2005/03/05 17:19:50
Line 586 
Line 586 
                 }                  }
         }          }
   
         if (!(flags & CF_RECURSE) ||          if ((flags & CF_KNOWN) && (cf->cf_cvstat == CVS_FST_UNKNOWN))
             ((flags & CF_KNOWN) && (cf->cf_cvstat == CVS_FST_UNKNOWN)))  
                 return (0);                  return (0);
   
         fd = open(fpath, O_RDONLY);          fd = open(fpath, O_RDONLY);
Line 627 
Line 626 
   
                         if ((flags & CF_NOSYMS) && (ent->d_type == DT_LNK))                          if ((flags & CF_NOSYMS) && (ent->d_type == DT_LNK))
                                 continue;                                  continue;
   
                           if (!(flags & CF_RECURSE) && (ent->d_type == DT_DIR)) {
                                   if (cdp->cd_ent != NULL)
                                           (void)cvs_ent_remove(cdp->cd_ent,
                                               ent->d_name);
                                   continue;
                           }
   
                         snprintf(pbuf, sizeof(pbuf), "%s/%s", fpath,                          snprintf(pbuf, sizeof(pbuf), "%s/%s", fpath,
                             ent->d_name);                              ent->d_name);

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56