[BACK]Return to chars.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/chars.c between version 1.26 and 1.27

version 1.26, 2010/08/16 09:51:17 version 1.27, 2010/08/20 01:02:07
Line 94  chars_init(enum chars type)
Line 94  chars_init(enum chars type)
         tab = malloc(sizeof(struct tbl));          tab = malloc(sizeof(struct tbl));
         if (NULL == tab) {          if (NULL == tab) {
                 perror(NULL);                  perror(NULL);
                 exit(EXIT_FAILURE);                  exit(MANDOCLEVEL_SYSERR);
         }          }
   
         htab = calloc(PRINT_HI - PRINT_LO + 1, sizeof(struct ln **));          htab = calloc(PRINT_HI - PRINT_LO + 1, sizeof(struct ln **));
         if (NULL == htab) {          if (NULL == htab) {
                 perror(NULL);                  perror(NULL);
                 exit(EXIT_FAILURE);                  exit(MANDOCLEVEL_SYSERR);
         }          }
   
         for (i = 0; i < LINES_MAX; i++) {          for (i = 0; i < LINES_MAX; i++) {

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

CVSweb