libXext: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 1 16:20:04 UTC 2022


 configure.ac       |    1 +
 src/Makefile.am    |    6 ++++--
 src/XEVI.c         |    7 ++++---
 src/XMultibuf.c    |   10 +++++-----
 src/XSecurity.c    |    2 +-
 src/XShape.c       |    5 +++--
 src/XShm.c         |    4 ++--
 src/XSync.c        |    2 +-
 src/Xcup.c         |    8 ++++----
 src/Xdbe.c         |   14 +++++++-------
 src/Xge.c          |    8 +++++---
 src/extutil.c      |   13 +++++--------
 src/extutilP.h     |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 src/reallocarray.c |   43 +++++++++++++++++++++++++++++++++++++++++++
 src/reallocarray.h |   44 ++++++++++++++++++++++++++++++++++++++++++++
 15 files changed, 175 insertions(+), 38 deletions(-)

New commits:
commit 178b95c486a1abcf2395157600dc1a2da7e67441
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jun 11 10:26:19 2022 -0700

    Convert calls to Xmalloc arrays to use Xmallocarray instead
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit d965a1a8ce9331d2aaf1c697a29455ad55171b36
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jun 11 10:00:29 2022 -0700

    Import reallocarray() from libX11
    
    Originally from OpenBSD, based on libx11 at bcf7b5aa
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit e6ff50b4634f2f2211997444a73d35277a0608d4
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Jun 10 16:21:59 2022 -0700

    Use calloc instead of malloc if we may not initialize all the bytes
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit bba869e4ff5826d48ea409b4a8bf4ff7ad414453
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Jun 10 16:16:22 2022 -0700

    Remove unnecessary (char *) casts from Xfree() arguments
    
    These also haven't been needed since C89
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit ace42fef753c1444cfc208da6bb282abbbc279ab
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Jun 10 15:44:45 2022 -0700

    Remove unnecessary casts of malloc/calloc results
    
    These aren't needed in C89 and later, but can hide missing prototypes
    that generate broken code on platforms where pointers are larger than ints.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit f12be5ac59a48249c77b8e61e78bceb9ad782542
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Jun 10 15:08:37 2022 -0700

    Add extutilP.h header for xgeExtRegister() prototype
    
    Clears gcc warning:
    
    Xge.c:302:11: warning: no previous prototype for ‘xgeExtRegister’
     [-Wmissing-prototypes]
     _X_HIDDEN xgeExtRegister(Display* dpy, int offset, XExtensionHooks* callbacks)
               ^~~~~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list