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

Diff for /src/usr.bin/cvs/getlog.c between version 1.18 and 1.19

version 1.18, 2005/04/11 18:02:58 version 1.19, 2005/04/12 14:58:40
Line 88 
Line 88 
                 case 'r':                  case 'r':
                         break;                          break;
                 default:                  default:
                         return (1);                          return (CVS_EX_USAGE);
                 }                  }
         }          }
   
Line 134 
Line 134 
         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 167 
Line 167 
                 if (rf == NULL) {                  if (rf == NULL) {
                         if (entp != NULL)                          if (entp != 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.18  
changed lines
  Added in v.1.19