CVS update: samba/source/lib
Jeremy Allison
jeremy at valinux.com
Fri Jun 29 18:22:17 EST 2001
On Thu, Jun 28, 2001 at 06:15:28PM -0700, Tim Potter wrote:
>
> Date: Thu Jun 28 18:15:28 2001
> Author: tpot
>
> Update of /data/cvs/samba/source/lib
> In directory va:/tmp/cvs-serv4442
>
> Modified Files:
> util_str.c
> Log Message:
> Replaced memcpy() with memmove() to make safe_strcpy() safe for overlapping
> source and destination.
Tim,
Can you profile the difference in memcpy and memmove for
several million operations please ? safe_strcpy() is one of our most
called functions and I don't want to have a negative effect on
performance.
Cheers.
Jeremy.
More information about the samba-cvs
mailing list