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

List:       koffice-devel
Subject:    Re: Zip problems (Re: (no subject))
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-11-18 12:26:41
[Download RAW message or body]

On Monday 18 November 2002 10:46, David Faure wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sunday 17 November 2002 16:29, Nicolas Goutte wrote:
> > I have found another problem.
> >
> > The fix is to change a memcpy by a qmemmove. However, I do not understand
> > why it would be necessary in that case. (Gcc 3.2 bug?)
>
> - From "man memcpy" :
> The memory areas may not overlap.  Use memmove(3) if the memory areas do
> overlap.

Yes, sure.

>
> This can be the only reason.

But why? We have two different char[] and are copying from one to the other. I 
do not see any overlap.

>
> > [...] For me, KWord works again.
>
> You rock!

Thank you!

Have a nice day/evening/night!
>
> - --
> David FAURE, david@mandrakesoft.com, faure@kde.org
> http://people.mandrakesoft.com/~david/
> Contributing to: http://www.konqueror.org/, http://www.koffice.org/
> Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE92Lbc72KcVAmwbhARAtv1AJoCb/X31Walv6td2cN++Bw1mpPBcwCfTJpc
> H3+RQtF4vyl2k4nZuCNpl60=
> =0N/w
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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