From 007dd8781c55fce01e2e54e6386731c355ad463d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 19 Mar 2014 22:20:43 +0000 Subject: 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. --- demandoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demandoc.c') diff --git a/demandoc.c b/demandoc.c index b120da2f..a757bf91 100644 --- a/demandoc.c +++ b/demandoc.c @@ -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; -- cgit