Paul Gevers:
> Hi Niels,
> 
> On 24-04-2020 20:23, Niels Thykier wrote:> Devil is in the detail.  The
> .TH/.Dt line is incorrect but not
>> "incorrect enough" for dh_installman to ignore it.  The version number
>> is treated as a section "0.15.0" which the "real" section (the X in
>> /usr/share/man/manX/foo.X.gz) as 0.
>>
>> I have added some code to catch obvious version numbers and ignore those
>> as well as out of bounds sections.  That said, there is limits to how
>> much brokenness this can recover from (a disclaimer for future reference).
> 
> Thanks for looking into it. I haven't checked your fix (if it's already
> available) but I noted in the man page that the .TH line should have an
> exact amount on entries. I trust you know this and count the number of
> entries now, no? I mean, the pasdoc man page had more entries than allowed.
> 
> Paul
> 

I just pushed it.

It is nothing fancy and debhelper never fully validated the .TH (or the
.Dt) line.  Patches welcome for that (provided it doable in a
"reasonable" size) but I have not written it.

~Niels

Reply via email to