diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-19 22:20:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-19 22:20:43 +0000 |
commit | 007dd8781c55fce01e2e54e6386731c355ad463d (patch) | |
tree | 744a417db38add0952cd00dc0691ba84dac03f0b /demandoc.c | |
parent | cd337f65ece6ac4cd6eb91fcbd5a7a970956eb3f (diff) | |
download | mandoc-007dd8781c55fce01e2e54e6386731c355ad463d.tar.gz |
Without the MPARSE_SO option, if the file contains nothing but a
single .so request, do not read the file pointed to, but instead
let mparse_result() provide the file name pointed to as a return
value. To be used by makewhatis(8) in the future.
Diffstat (limited to 'demandoc.c')
-rw-r--r-- | demandoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ pmandoc(struct mparse *mp, int fd, const char *fn, int list) return; } - mparse_result(mp, &mdoc, &man); + mparse_result(mp, &mdoc, &man, NULL); line = 1; col = 0; |