Return to roff.c CVS log | Up to [local] / src / usr.bin / mandoc |
version 1.74, 2014/03/21 22:17:01 | version 1.75, 2014/03/21 22:52:21 | ||
---|---|---|---|
|
|
||
/* Spring the input line trap. */ | /* Spring the input line trap. */ | ||
if (1 == roffit_lines) { | if (1 == roffit_lines) { | ||
isz = asprintf(&p, "%s\n.%s", *bufp, roffit_macro); | isz = mandoc_asprintf(&p, "%s\n.%s", *bufp, roffit_macro); | ||
if (-1 == isz) { | |||
perror(NULL); | |||
exit((int)MANDOCLEVEL_SYSERR); | |||
} | |||
free(*bufp); | free(*bufp); | ||
*bufp = p; | *bufp = p; | ||
*szp = isz + 1; | *szp = isz + 1; |