version 1.208, 2014/01/05 20:26:36 |
version 1.210, 2014/03/23 12:11:18 |
|
|
|
|
#include "mdoc.h" |
#include "mdoc.h" |
#include "mandoc.h" |
#include "mandoc.h" |
|
#include "mandoc_aux.h" |
#include "libmdoc.h" |
#include "libmdoc.h" |
#include "libmandoc.h" |
#include "libmandoc.h" |
|
|
Line 593 mdoc_word_append(struct mdoc *mdoc, const char *p) |
|
Line 594 mdoc_word_append(struct mdoc *mdoc, const char *p) |
|
|
|
n = mdoc->last; |
n = mdoc->last; |
addstr = roff_strdup(mdoc->roff, p); |
addstr = roff_strdup(mdoc->roff, p); |
if (-1 == asprintf(&newstr, "%s %s", n->string, addstr)) { |
mandoc_asprintf(&newstr, "%s %s", n->string, addstr); |
perror(NULL); |
|
exit((int)MANDOCLEVEL_SYSERR); |
|
} |
|
free(addstr); |
free(addstr); |
free(n->string); |
free(n->string); |
n->string = newstr; |
n->string = newstr; |