libxtrans: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jan 18 18:39:47 UTC 2025
COPYING | 2 -
Xtrans.c | 15 ++++++-----
Xtranssock.c | 77 +++++++++++++++++++++++++++++++++++++++--------------------
Xtransutil.c | 20 +++++++++------
xtrans.m4 | 6 +++-
5 files changed, 78 insertions(+), 42 deletions(-)
New commits:
commit 02415310dd4997b4a7943814381c0b52d91eb8de
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 11 13:06:06 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/lib/libxtrans/-/merge_requests/27>
commit 7aa12b634fadf2c414080f1ba3d373430cf2d8f2
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 11 12:24:03 2025 -0800
Simplify ifdefs for IPv6 support
Instead of checking for AF_INET6 at every ifdef, just check once per file
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/lib/libxtrans/-/merge_requests/27>
More information about the xorg-commit
mailing list