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

Diff for /src/usr.bin/cvs/annotate.c between version 1.10 and 1.11

version 1.10, 2005/04/13 20:05:37 version 1.11, 2005/04/18 21:02:49
Line 131 
Line 131 
         int ret;          int ret;
         char fpath[MAXPATHLEN];          char fpath[MAXPATHLEN];
         struct cvsroot *root;          struct cvsroot *root;
         struct cvs_ent *entp;  
   
         ret = 0;          ret = 0;
         root = CVS_DIR_ROOT(cf);          root = CVS_DIR_ROOT(cf);
Line 149 
Line 148 
         }          }
   
         cvs_file_getpath(cf, fpath, sizeof(fpath));          cvs_file_getpath(cf, fpath, sizeof(fpath));
         entp = cvs_ent_getent(fpath);  
   
         if (root->cr_method != CVS_METHOD_LOCAL) {          if (root->cr_method != CVS_METHOD_LOCAL) {
                 if ((entp != NULL) && (cvs_sendentry(root, entp) < 0)) {                  if (cvs_sendentry(root, cf) < 0) {
                         cvs_ent_free(entp);  
                         return (CVS_EX_PROTO);                          return (CVS_EX_PROTO);
                 }                  }
   
Line 181 
Line 178 
                 }                  }
         }          }
   
         if (entp != NULL)  
                 cvs_ent_free(entp);  
         return (ret);          return (ret);
 }  }

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11