=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/roff.c,v retrieving revision 1.74 retrieving revision 1.75 diff -c -r1.74 -r1.75 *** src/usr.bin/mandoc/roff.c 2014/03/21 22:17:01 1.74 --- src/usr.bin/mandoc/roff.c 2014/03/21 22:52:21 1.75 *************** *** 1,4 **** ! /* $Id: roff.c,v 1.74 2014/03/21 22:17:01 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze --- 1,4 ---- ! /* $Id: roff.c,v 1.75 2014/03/21 22:52:21 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze *************** *** 652,662 **** /* 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); ! } free(*bufp); *bufp = p; *szp = isz + 1; --- 652,658 ---- /* Spring the input line trap. */ if (1 == roffit_lines) { ! isz = mandoc_asprintf(&p, "%s\n.%s", *bufp, roffit_macro); free(*bufp); *bufp = p; *szp = isz + 1;