Bug 170796

Summary: man kioslave displays wrong function signature on the mmap man page
Product: [Frameworks and Libraries] kio Reporter: George Kiagiadakis <mail>
Component: manAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description George Kiagiadakis 2008-09-10 13:34:40 UTC
Version:            (using KDE 4.1.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Open this man page in konqueror: man:/usr/share/man/man2/mmap.2.gz

You will notice that the mmap() function signature is displayed as:
void *mmap(void *addr, size_t lengthprot, int flags, int fd, off_t offset);

This is wrong. lenghtprot is actually two arguments, which have been concatenated for some reason.

In the man page, this is written as:
.BI "void *mmap(void *" addr ", size_t " length \
", int " prot ", int " flags ,
.BI "           int " fd ", off_t " offset );

I guess something in there confuses the parser.

PS: sorry that I am reporting this against konqueror. I don't know if there is a specific product/component combination for the man kioslave.
Comment 1 Rolf Eike Beer 2008-09-10 13:56:29 UTC
Same here, openSuSE 11.0, Konqueror 3.5.10
Comment 2 Pino Toscano 2008-09-10 15:00:05 UTC

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