[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: [PATCH] Fixes Bug#39626: kmail silently (!) stops saving huge attachments after ~ 1MB is written
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2002-04-02 11:15:38
[Download RAW message or body]

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

On Tuesday 02 April 2002 12:15, Stephan Kulow wrote:
<snip>
> Why do you need to do duplicate()? assign() should do - and be faster and
> less memory hungy, even though the memory problem is limited to 64KB now :)
<snip>

Using assign() would steal the assigned 64k chunk from the big QByteArray, 
that owns it. Nasty boy. Don't. ;-)

Marc

- -- 
Marc Mutz <mutz@kde.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8qZLa3oWD+L2/6DgRAnRkAJwO8qSjHK8e9HRy+Tl8WltIYTOhLgCgmt8I
lJCqZyCwcdX35rkXm1ugg60=
=fWQX
-----END PGP SIGNATURE-----

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic