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

Diff for /mandoc/read.c between version 1.211 and 1.212

version 1.211, 2019/01/11 17:04:44 version 1.212, 2019/03/19 16:26:08
Line 255  mparse_buf_r(struct mparse *curp, struct buf blk, size
Line 255  mparse_buf_r(struct mparse *curp, struct buf blk, size
                 /* XXX Ugly hack to mark the end of the input. */                  /* XXX Ugly hack to mark the end of the input. */
   
                 if (i == blk.sz || blk.buf[i] == '\0') {                  if (i == blk.sz || blk.buf[i] == '\0') {
                           if (pos + 2 > ln.sz)
                                   resize_buf(&ln, 256);
                         ln.buf[pos++] = '\n';                          ln.buf[pos++] = '\n';
                         ln.buf[pos] = '\0';                          ln.buf[pos] = '\0';
                 }                  }

Legend:
Removed from v.1.211  
changed lines
  Added in v.1.212

CVSweb