libkcddb and missing error string

Benjamin Meyer ben at meyerhome.net
Wed Jul 21 13:05:43 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 20 July 2004 3:23 pm, André Wöbbeking wrote:
> Hi Alexander,
>
> On Tuesday 20 July 2004 21:09, Alexander Neundorf wrote:
> > Client::Client(const Config & config) : QObject(),
> >     cdInfoLookup(0),
> >     cdInfoSubmit(0)
> > {
> >     d = new Private;
> >     d->config = config;   //// <- this line
> > }
> >
> > I didn't find an operator= for the KConfigSkeleton class, so it is
> > simply memcpy'ied, and crashes in the dtor when both copies try to
> > delete their members.
>
> memcpy() is only used for build in types. For all other types
> operator=() is called for each member.
>
>
> André

Just trying to close this thread is it ok or not ok for me to add the missing 
error string to resultToString() in libkcddb?

- -Benjamin Meyer

- -- 
aka icefox
Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFA/lwb1rZ3LTw38vIRAnznAJ9/3+G4LUrxzTtbxknk+GFeSf6QOwCdEnRu
w4B4OfUzvqLJQJFw0fImXJ8=
=x3CF
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list