[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memmove instead of memcpy
From: |
Philippe Roussel |
Subject: |
Re: memmove instead of memcpy |
Date: |
Sat, 12 Feb 2011 22:00:51 +0100 |
Le samedi 12 février 2011 à 20:35 +0000, David Chisnall a écrit :
> On 12 Feb 2011, at 20:22, Philippe Roussel wrote:
>
> > Hi,
> >
> > Are these kind of patches considered useful ?
>
> Yes, definitely.
>
> > Documentation says memmove should be used when the memory areas overlap
> > and valgrind warns about it.
>
> The patch looks right, but I'll let Richard check it before committing...
Ok, thanks. I will send patches if I find other offenders.
Philippe