[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.209 and 1.210

version 1.209, 2008/01/10 11:21:34 version 1.210, 2008/01/21 16:36:46
Line 371 
Line 371 
   
         /*          /*
          * If we do not have a admin directory inside here, dont bother,           * If we do not have a admin directory inside here, dont bother,
          * unless we are running import.           * unless we are running export, import, rlog or rtag.
          */           */
         (void)xsnprintf(fpath, MAXPATHLEN, "%s/%s", cf->file_path,          (void)xsnprintf(fpath, MAXPATHLEN, "%s/%s", cf->file_path,
             CVS_PATH_CVSDIR);              CVS_PATH_CVSDIR);
   
         l = stat(fpath, &st);          l = stat(fpath, &st);
         if (cvs_cmdop != CVS_OP_IMPORT && cvs_cmdop != CVS_OP_RLOG &&          if (cvs_cmdop != CVS_OP_EXPORT && cvs_cmdop != CVS_OP_IMPORT &&
             cvs_cmdop != CVS_OP_RTAG &&              cvs_cmdop != CVS_OP_RLOG && cvs_cmdop != CVS_OP_RTAG &&
             (l == -1 || (l == 0 && !S_ISDIR(st.st_mode)))) {              (l == -1 || (l == 0 && !S_ISDIR(st.st_mode)))) {
                 return;                  return;
         }          }

Legend:
Removed from v.1.209  
changed lines
  Added in v.1.210