version 1.3, 2009/03/20 15:14:01 |
version 1.4, 2009/03/20 21:58:38 |
Line 92 term_ascii2htab(void) |
|
Line 92 term_ascii2htab(void) |
|
if (NULL == (tab = malloc(sizeof(struct asciitab)))) |
if (NULL == (tab = malloc(sizeof(struct asciitab)))) |
err(1, "malloc"); |
err(1, "malloc"); |
|
|
assert(0 == sizeof(lines) % sizeof(struct line)); |
|
len = sizeof(lines) / sizeof(struct line); |
len = sizeof(lines) / sizeof(struct line); |
|
|
if (NULL == (p = calloc((size_t)len, sizeof(struct linep)))) |
if (NULL == (p = calloc((size_t)len, sizeof(struct linep)))) |