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

Diff for /src/usr.bin/cvs/status.c between version 1.13 and 1.14

version 1.13, 2005/04/11 18:02:58 version 1.14, 2005/04/12 14:58:40
Line 83 
Line 83 
                         verbose = 1;                          verbose = 1;
                         break;                          break;
                 default:                  default:
                         return (1);                          return (CVS_EX_USAGE);
                 }                  }
         }          }
   
Line 95 
Line 95 
 cvs_status_sendflags(struct cvsroot *root)  cvs_status_sendflags(struct cvsroot *root)
 {  {
         if (verbose && (cvs_sendarg(root, "-v", 0) < 0))          if (verbose && (cvs_sendarg(root, "-v", 0) < 0))
                 return (-1);                  return (CVS_EX_PROTO);
         return (0);          return (0);
 }  }
   
Line 136 
Line 136 
         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 (cfp->cf_cvstat) {                  switch (cfp->cf_cvstat) {
Line 169 
Line 169 
                 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.13  
changed lines
  Added in v.1.14