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

Diff for /src/usr.bin/rcs/diff.c between version 1.17 and 1.18

version 1.17, 2007/05/29 00:19:10 version 1.18, 2007/05/29 08:02:59
Line 585 
Line 585 
 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.17  
changed lines
  Added in v.1.18