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

Diff for /src/usr.bin/indent/lexi.c between version 1.18 and 1.19

version 1.18, 2015/01/22 05:35:27 version 1.19, 2015/08/20 22:32:41
Line 582 
Line 582 
          */           */
         nspecials = sizeof (specialsinit) / sizeof (specialsinit[0]);          nspecials = sizeof (specialsinit) / sizeof (specialsinit[0]);
         maxspecials = nspecials + (nspecials >> 2);          maxspecials = nspecials + (nspecials >> 2);
         specials = (struct templ *)calloc(maxspecials, sizeof specials[0]);          specials = calloc(maxspecials, sizeof specials[0]);
         if (specials == NULL)          if (specials == NULL)
             err(1, NULL);              err(1, NULL);
         memcpy(specials, specialsinit, sizeof specialsinit);          memcpy(specials, specialsinit, sizeof specialsinit);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19