NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/45980: Manual file indexing no longer supports compressed manual pages



The following reply was made to PR bin/45980; it has been noted by GNATS.

From: Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
To: Matthias Scheler <tron%zhadum.org.uk@localhost>
Cc: NetBSD GNATS <gnats-bugs%netbsd.org@localhost>
Subject: Re: bin/45980: Manual file indexing no longer supports compressed
 manual pages
Date: Sat, 11 Feb 2012 20:36:31 +0530

 On Sat, Feb 11, 2012 at 7:44 PM, Matthias Scheler 
<tron%zhadum.org.uk@localhost> wrote:
 > On Sat, Feb 11, 2012 at 07:40:44PM +0530, Abhinav Upadhyay wrote:
 >> Yes, currently makemandb is not able to index compressed man pages. I
 >> believe it is possible to add the support for compressed man pages in
 >> the tool, but I think a better solution would be to get the proper
 >> support for compressed man pages in mandoc itself.
 >
 > Hmmm, maybe I missunderstood the problem. Would mparse_result() return
 > a "struct man *" full of binary data instead of failing if you pass
 > it a ".gz" file?
 >
 
 Yes. The task of parsing is performed when mparse_readfd() is called,
 which tries to parse even the compressed man page files and returns
 binary data.
 
 --
 Abhinav
 


Home | Main Index | Thread Index | Old Index