On Thu, 7 Apr 2022 20:58:27 +0200 Jakub Wilk <jw...@jwilk.net> wrote:
> Package: pinfo
> Version: 0.6.13-1.1
> 
> pinfo crashes on the "Fixed date options" node of gcal.info:
> 
>    $ dpkg-query -W gcal
>    gcal       4.1-3.1
> 
>    $ pinfo --node='Fixed date options' gcal
>    pinfo: initializelinks.c:159: finddot: Assertion `closest>=str' failed.
>                                                                           
>Aborted

This bug is caused by the fact that pinfo can not deal with references
spanning more then two lines. The "Fixed date options" node of
gcal.info contains references starting at then end of a line, covering
the entire following line and terminating in the line after next. See  
lines 3098-3100 and 3113-3115 of unpacked /usr/share/info/gcal.info.gz.

The way how pinfo handles two-line-references is not extendable to more
lines. A change would require a major rework of how pinfo handles
paragraphs of text, IMHO.

-- 
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to