xhost: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jan 18 18:32:06 UTC 2025


 .gitignore   |    4 -
 configure.ac |    3 +
 xhost.c      |  141 +++++++++++++++++++++++++++++++++++------------------------
 3 files changed, 90 insertions(+), 58 deletions(-)

New commits:
commit 0e8b7532056577e97195da5e40889d11e03f46e8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 12 14:19:36 2025 -0800

    if getaddrinfo() is available, use it, even if IPv6 support is disabled
    
    Support for using getaddrinfo() was originally added to support IPv6,
    and only used if IPv6 support was enabled.  Two decades later, support
    for getaddrinfo() is ubiquitous and OS'es have marked gethostbyname()
    as deprecated, so use the modern interface whenever we can now.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xhost/-/merge_requests/9>

commit c78f8729f826cb7fd433ae2c24a767b1eafa206c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 12 13:50:16 2025 -0800

    Simplify ifdefs for IPv6 support
    
    Instead of checking for AF_INET6 at every ifdef, just check once for it
    and report that IPv6 support is not available, instead of silently not
    building support for it that configure said we were going to build.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xhost/-/merge_requests/9>

commit 3e894cb8ef08be24f100477c4beff77048b1fae1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 12 14:34:24 2025 -0800

    reduce scope of #ifdef'ed variables to reduce #ifdefs
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xhost/-/merge_requests/9>

commit 8a4bbef5d4b29d3f836094d2a8c7ce24e345b301
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 12 14:22:02 2025 -0800

    Clear trailing whitespace from lines in files
    
    Performed with: perl -i -p -e 's{\s+$}{\n}' `git ls-files`
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xhost/-/merge_requests/9>



More information about the xorg-commit mailing list