diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-10-08 15:42:29 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-10-08 15:42:29 +0000 |
commit | ffa20eb3a09b80161daf8d512f06c949ad6e196f (patch) | |
tree | b16016ae9e6a952b41b0b05c39375025854e1ba7 | |
parent | bd58102dc13c95357cb31bc7b9b752ba05673533 (diff) | |
download | mandoc-VERSION.1.12.0.tar.gz |
Critical fix in the new -Tman lookaside buffer code. Gah..VERSION.1.12.0
-rw-r--r-- | read.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -464,7 +464,8 @@ rerun: * buffer because we're going to descend into * the file recursively. */ - curp->secondary->sz -= pos + 1; + if (curp->secondary) + curp->secondary->sz -= pos + 1; mparse_readfd_r(curp, -1, ln.buf + of, 1); if (MANDOCLEVEL_FATAL <= curp->file_status) break; |