=================================================================== RCS file: /cvs/mandoc/roff.c,v retrieving revision 1.201 retrieving revision 1.202 diff -u -p -r1.201 -r1.202 --- mandoc/roff.c 2014/03/23 11:25:26 1.201 +++ mandoc/roff.c 2014/03/23 12:11:18 1.202 @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.201 2014/03/23 11:25:26 schwarze Exp $ */ +/* $Id: roff.c,v 1.202 2014/03/23 12:11:18 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -656,11 +656,7 @@ roff_parsetext(char **bufp, size_t *szp, int pos, int /* Spring the input line trap. */ if (1 == roffit_lines) { - isz = asprintf(&p, "%s\n.%s", *bufp, roffit_macro); - if (-1 == isz) { - perror(NULL); - exit((int)MANDOCLEVEL_SYSERR); - } + isz = mandoc_asprintf(&p, "%s\n.%s", *bufp, roffit_macro); free(*bufp); *bufp = p; *szp = isz + 1;