diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-11 19:02:20 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-11 19:03:57 -0700 |
commit | 1aaf5d502027104ddd566090787780319f510278 (patch) | |
tree | aaa11a76874c427ae4e8a15551a3c4ac1abce7c2 /man/XtQueryGeometry.man | |
parent | 3c54e99864eb6dba0d0cde7fe0a23ed7c1f5875f (diff) |
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'man/XtQueryGeometry.man')
0 files changed, 0 insertions, 0 deletions