[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.146 and 1.147

version 1.146, 2006/05/28 17:25:18 version 1.147, 2006/05/28 21:11:12
Line 599 
Line 599 
                 return;                  return;
         }          }
   
         rflags = 0;          rflags = RCS_READ;
           switch (cvs_cmdop) {
           case CVS_OP_COMMIT:
                   rflags = RCS_WRITE;
                   break;
           case CVS_OP_LOG:
                   rflags |= RCS_PARSE_FULLY;
                   break;
           }
   
         cf->repo_fd = open(cf->file_rpath, O_RDONLY);          cf->repo_fd = open(cf->file_rpath, O_RDONLY);
         if (cf->repo_fd != -1) {          if (cf->repo_fd != -1) {
                 cf->file_rcs = rcs_open(cf->file_rpath, cf->repo_fd, rflags);                  cf->file_rcs = rcs_open(cf->file_rpath, cf->repo_fd, rflags);

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.147