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

Diff for /src/usr.bin/mg/line.c between version 1.6 and 1.7

version 1.6, 2001/05/23 22:20:35 version 1.7, 2001/05/23 22:36:14
Line 62 
Line 62 
 #ifdef MALLOCROUND  #ifdef MALLOCROUND
         MALLOCROUND(size);      /* round up to a size optimal to malloc */          MALLOCROUND(size);      /* round up to a size optimal to malloc */
 #endif  #endif
         if ((lp = (LINE *)malloc((unsigned)size)) == NULL) {          if ((lp = malloc((unsigned)size)) == NULL) {
                 ewprintf("Can't get %d bytes", size);                  ewprintf("Can't get %d bytes", size);
                 return (LINE *)NULL;                  return NULL;
         }          }
         lp->l_size = size - OFFSET(LINE, l_text[0]);          lp->l_size = size - OFFSET(LINE, l_text[0]);
         lp->l_used = used;          lp->l_used = used;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7