Bug 74925 - long section names (Solaris) are not recognised
Summary: long section names (Solaris) are not recognised
Status: RESOLVED DUPLICATE of bug 45309
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: man (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 09:49 UTC by Jonathan Marten
Modified: 2004-02-11 09:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Long section names fix (1008 bytes, patch)
2004-02-11 09:50 UTC, Jonathan Marten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Marten 2004-02-11 09:49:44 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
OS:          Solaris

Long section names in Solaris man pages, such as connect(3SOCKET) or volfs(7FS) are not recognised or hyperlinked in a man page display. The man2html converter only accepts a maximum of 2 characters within the parentheses, and only the 'digit' or 'digit+letter' format.

The attached patch fixes this to accept any string of letters and digits between the brackets.  With this applied, man page names such as the above are correctly recognised and turned into hyperlinks. (There seems to be a fix already done below, in the section starting 'if (isalnum(*h))', to collect and output a link to such a page correctly, but it is of no use because the test above always fails).

This problems was raised a long time ago in 45309.  However, that bug report includes a lot of other fixes, some of which have now been addressed and the others would probably be impossible to patch into current sources since they have moved on so much.  Suggest that 45309 is closed as WONTFIX and I'll submit separate patches for anything remaining.
Comment 1 Jonathan Marten 2004-02-11 09:50:45 UTC
Created attachment 4633 [details]
Long section names fix
Comment 2 Stephan Kulow 2004-02-11 09:54:44 UTC

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