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

Diff for /src/usr.bin/cvs/update.c between version 1.20 and 1.21

version 1.20, 2005/04/11 18:02:58 version 1.21, 2005/04/12 14:58:40
Line 81 
Line 81 
                 case 'r':                  case 'r':
                         break;                          break;
                 default:                  default:
                         return (1);                          return (CVS_EX_USAGE);
                 }                  }
         }          }
   
Line 129 
Line 129 
         if (root->cr_method != CVS_METHOD_LOCAL) {          if (root->cr_method != CVS_METHOD_LOCAL) {
                 if ((entp != NULL) && (cvs_sendentry(root, entp) < 0)) {                  if ((entp != NULL) && (cvs_sendentry(root, entp) < 0)) {
                         cvs_ent_free(entp);                          cvs_ent_free(entp);
                         return (-1);                          return (CVS_EX_PROTO);
                 }                  }
   
                 switch (cf->cf_cvstat) {                  switch (cf->cf_cvstat) {
Line 160 
Line 160 
                 rf = rcs_open(rcspath, RCS_READ);                  rf = rcs_open(rcspath, RCS_READ);
                 if (rf == NULL) {                  if (rf == NULL) {
                         cvs_ent_free(entp);                          cvs_ent_free(entp);
                         return (-1);                          return (CVS_EX_DATA);
                 }                  }
   
                 rcs_close(rf);                  rcs_close(rf);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21