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

Diff for /src/usr.bin/cvs/diff_internals.c between version 1.9 and 1.10

version 1.9, 2007/05/29 00:19:10 version 1.10, 2007/05/29 08:02:59
Line 571 
Line 571 
 newcand(int x, int y, int pred)  newcand(int x, int y, int pred)
 {  {
         struct cand *q;          struct cand *q;
         int newclistlen;  
   
         if (clen == clistlen) {          if (clen == clistlen) {
                 newclistlen = clistlen * 11 / 10;                  clistlen = clistlen * 11 / 10;
                 clist = xrealloc(clist, newclistlen, sizeof(*clist));                  clist = xrealloc(clist, clistlen, sizeof(*clist));
                 clistlen = newclistlen;  
         }          }
         q = clist + clen;          q = clist + clen;
         q->x = x;          q->x = x;

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