[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.33 and 1.34

version 1.33, 2007/01/11 02:35:55 version 1.34, 2007/01/11 17:44:18
Line 112 
Line 112 
         BUF *b;          BUF *b;
         RCSNUM *ann_rev;          RCSNUM *ann_rev;
         char *content;          char *content;
           size_t len;
   
         ann_rev = NULL;          ann_rev = NULL;
   
Line 136 
Line 137 
         b = rcs_getrev(cf->file_rcs, ann_rev);          b = rcs_getrev(cf->file_rcs, ann_rev);
         cvs_buf_putc(b, '\0');          cvs_buf_putc(b, '\0');
   
           len = cvs_buf_len(b);
         content = cvs_buf_release(b);          content = cvs_buf_release(b);
         if ((lines = cvs_splitlines(content)) == NULL)          if ((lines = cvs_splitlines(content, len)) == NULL)
                 fatal("cvs_annotate_local: cvs_splitlines failed");                  fatal("cvs_annotate_local: cvs_splitlines failed");
   
         xfree(content);          xfree(content);

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34