Commit 1aaf5d50 authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Use memcpy() instead of XtMemmove() when buffers are known to differ



Most of these came from a mass XtBCopy() -> XtMemmove() substitution
in 1993 with a commit comment of "ANSIfication".

But include/X11/IntrinsicI.h now defines XtMemmmove() as just
calling memcpy() as long as src & dst differ, so remove an
unnecessary check when we've just allocated a buffer, and reduce
the chance that someone thinks we'll actually call memmove() instead
of memcpy()

Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 3c54e998
Pipeline #663763 passed with stages
in 2 minutes and 10 seconds