libXt: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Aug 13 11:06:58 UTC 2022


 src/Alloc.c      |    2 +-
 src/Convert.c    |    4 ++--
 src/Create.c     |    6 +++---
 src/Error.c      |    4 ++--
 src/GetResList.c |   10 ++++------
 src/Initialize.c |    8 ++++----
 src/Resources.c  |   12 ++++++------
 src/Selection.c  |   28 ++++++++++++++--------------
 src/SetValues.c  |   12 ++++++------
 src/Shell.c      |   11 +++++------
 src/TMaction.c   |    3 +--
 src/TMkey.c      |    3 +--
 src/TMparse.c    |   26 +++++++++++++-------------
 src/TMstate.c    |   29 ++++++++++++++---------------
 14 files changed, 76 insertions(+), 82 deletions(-)

New commits:
commit 1aaf5d502027104ddd566090787780319f510278
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Aug 11 19:02:20 2022 -0700

    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 at oracle.com>

commit 3c54e99864eb6dba0d0cde7fe0a23ed7c1f5875f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Aug 11 18:41:14 2022 -0700

    Use memcpy() instead of memmove() when buffers are known not to overlap
    
    Most of these came from a mass bcopy() -> memmove() substitution
    in 1993 with a commit comment of "ANSIfication".
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list