Bug 227693 - Broken handling of manpages containing ".BI ... \" lines
Summary: Broken handling of manpages containing ".BI ... \" lines
Status: RESOLVED DUPLICATE of bug 144942
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: man (show other bugs)
Version: 4.4
Platform: Debian testing Unspecified
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-19 17:06 UTC by Eckhart Wörner
Modified: 2011-01-06 15:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eckhart Wörner 2010-02-19 17:06:55 UTC
Version:            (using KDE 4.4.0)
Installed from:    Debian testing/unstable Packages

This bug has been copied over from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557364 and has been verified to still exist in KDE SC 4.4.0

The pages from manpages-dev package (sections 2 & 3) have lines starting with 
.BI in Synopsis section, used to pretty-format function declarations. 

Sometimes these lines are terminated with a backslash, for example in the man 
pages for msgsnd, wait, mmap, ipc, setbuf, dbopen, etc. There are 46 files in 
section 2, and 169 in section 3 with lines matching the pattern "^.BI.*\\$" 

When displaying one of these man pages with KDE Man Page Viewer the function 
declaration is corrupted. For example, instead of:

        int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg);

        ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp,
                      int msgflg);

there is:

	int msgsnd(int msqid, const void *msgp, size_t msgszmsgflg);

	ssize_t msgrcv(int msqid, void *msgp, size_t msgszmsgtyp,
               int msgflg);

More precisely, looking at the man page source one could see that the quoted 
string after the \ on the previous line is lost.
Comment 1 Martin Koller 2011-01-06 15:29:42 UTC

*** This bug has been marked as a duplicate of bug 144942 ***