PATCH: kdebase/kioslave/man/man2html.cpp

Thiago Macieira thiago at kde.org
Thu Jan 7 15:32:44 GMT 2010


Em Quinta-feira 07 Janeiro 2010, às 14:47:02, Michael Pyne escreveu:
> On Thursday 07 January 2010 03:57:56 Dawit A. wrote:
> > The attached one liner patch allows links within a manpage to correctly
> > resolve when using QtWebKit. Any objections to it being committed ?
> > 
> > Note that this does not break anything when using khtml since it is not
> > as strict when it comes to this things and works fine either way...
> 
> The patch looks OK to me although I will say that I'm not sure exactly of
> URI specification and so I don't know whether man:foo or man:/foo is the
> more- correct abuse of URIs. ;)
> 
> (For those wondering, the patch simply converts man:foo links to other man
> pages to man:/foo)

Both URIs are correct, but they are not the same thing.

The difference is of whether the path is relative or not. If you're on 
info:/libc/bar.html and you get a link to man:foo.html, the resolution will 
cause it to become man:/libc/foo.html.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100107/7a04f01a/attachment.sig>


More information about the kde-core-devel mailing list