Triple code duplication

David Faure faure at kde.org
Tue Aug 10 16:05:33 CEST 2004


On Tuesday 10 August 2004 16:02, Karl Vogel wrote:
> I don't have the sources with me at the moment.. but can't you just
> link kbzipfilter2.so to kio_help.so / kio_ghelp.so ?!

You can NOT link to dlopened modules, that's not portable.

Don't be confused by the fact that they are all ".so" files on e.g. linux.
Either something is a real lib (versionned, in $KDEDIR/lib/) or it's a module
(not versionned, in $KDEDIR/lib/kde3/)

> And in this case, the libs won't be loaded by the same code anyway, 
> right?
Yes, as I said.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-optimize mailing list