summaryrefslogtreecommitdiff
path: root/man/XtFindFile.man
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-11 19:02:20 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-11 19:03:57 -0700
commit1aaf5d502027104ddd566090787780319f510278 (patch)
treeaaa11a76874c427ae4e8a15551a3c4ac1abce7c2 /man/XtFindFile.man
parent3c54e99864eb6dba0d0cde7fe0a23ed7c1f5875f (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/XtFindFile.man')
0 files changed, 0 insertions, 0 deletions