Bug 189216 - kio_man cannot view bashbuiltins(1) containing .so link
Summary: kio_man cannot view bashbuiltins(1) containing .so link
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: man (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 15:54 UTC by Will Stephenson
Modified: 2011-01-06 14:30 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 Will Stephenson 2009-04-09 15:54:02 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Ref: https://bugzilla.novell.com/show_bug.cgi?id=489757

The .so element pulls in part of bash(1) and our man2html.cpp cannot handle this, so we get an error from kio_man.

Our man guy tells me that opening the manpage via zsoelim would dereference the .so but this would introduce a dependency on man - which is probably why we have this man2html code inside the ioslave, instead of running a groff via KProcess, and i have no idea how portable this would be.
Comment 1 Will Stephenson 2009-04-09 15:55:54 UTC
David, I see you last committed here - what's your opinion?
Comment 2 David Faure 2009-04-10 14:07:43 UTC
I'm a bit clueless about all this man stuff (my kio_man fixes were kioslave stuff or URL stuff, not man stuff ;).
AFAICS the .so is just a sort of #include? Can't we just implement that in man2html? Seems like it's a missing feature in man2html, no? Or is this something that can't possibly be done there?

BTW there is no bashbuiltins.1.gz on my kubuntu, only bash.1.gz and bashbug.1.gz.
Comment 3 Martin Koller 2011-01-06 14:30:10 UTC
SVN commit 1212296 by mkoller:

BUG: 189216
if a man page switches to a different man page (.so)
check if the named file exists with a suffix, even when given
with an absolute path


 M  +9 -4      kio_man.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1212296
Comment 4 Martin Koller 2011-01-06 14:30:52 UTC
SVN commit 1212298 by mkoller:

Backport r1212296 by mkoller from trunk to the 4.6 branch:

CCBUG: 189216
if a man page switches to a different man page (.so)
check if the named file exists with a suffix, even when given
with an absolute path



 M  +9 -4      kio_man.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1212298