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++) { |