[BACK]Return to roff.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/roff.c between version 1.201 and 1.202

version 1.201, 2014/03/23 11:25:26 version 1.202, 2014/03/23 12:11:18
Line 656  roff_parsetext(char **bufp, size_t *szp, int pos, int 
Line 656  roff_parsetext(char **bufp, size_t *szp, int pos, int 
   
         /* 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;

Legend:
Removed from v.1.201  
changed lines
  Added in v.1.202

CVSweb