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

Diff for /src/usr.bin/col/col.c between version 1.3 and 1.4

version 1.3, 1997/01/15 23:42:20 version 1.4, 1997/06/17 20:53:58
Line 487 
Line 487 
         int i;          int i;
   
         if (!line_freelist) {          if (!line_freelist) {
                 l = (LINE *)xmalloc((void *)NULL, sizeof(LINE) * NALLOC);                  l = (LINE *)xmalloc(NULL, sizeof(LINE) * NALLOC);
                 line_freelist = l;                  line_freelist = l;
                 for (i = 1; i < NALLOC; i++, l++)                  for (i = 1; i < NALLOC; i++, l++)
                         l->l_next = l + 1;                          l->l_next = l + 1;
Line 516 
Line 516 
 {  {
   
         if (!(p = (void *)realloc(p, size)))          if (!(p = (void *)realloc(p, size)))
                 err(1, NULL);                  err(1, "realloc failed");
         return (p);          return (p);
 }  }
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4