libxtrans: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jan 27 22:53:49 UTC 2025
Xtrans.h | 8 +++++-
Xtranssock.c | 69 ++++++++++++++++++-----------------------------------------
Xtransutil.c | 8 +++++-
xtrans.m4 | 8 ++++--
4 files changed, 41 insertions(+), 52 deletions(-)
New commits:
commit c8c291390f4befb7d813d7fce6caeb6607561903
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Jan 20 09:54:21 2025 -0800
is_numeric: Add defined(X11_t) to checks
Fixes builds of XTS which still builds X11 client side code (unlike
libX11 which relies on xcb instead of xtrans now for X11 connections).
Fixes: 0f15306 ("is_numeric: Add TRANS_SERVER to required ifdefs")
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/28>
commit 633ac2f03369eb93b70958c783722cfe3e93aacc
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 18 12:00:41 2025 -0800
Convert one more IPv6 ifdef to HAVE_GETADDRINFO
If getaddrinfo returned multiple addresses, try another when first fails,
even if we're only using IPv4.
Fixes: 0241531 ("if getaddrinfo() is available, use it, even if IPv6 support is disabled")
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/merge_requests/28>
commit 2c4a122ca0512936d4306ef449f6b7b2566d6785
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 18 11:50:59 2025 -0800
if sockaddr_storage is available, use it, even if IPv6 support is disabled
Support for using sockaddr_storage was originally added to support IPv6,
and only used if IPv6 support was enabled. Two decades later, support
for sockaddr_storage is ubiquitous and can simplify our code paths,
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/28>
commit deb755c0ad4575a7542e2abcba986a003fddb198
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 18 11:07:30 2025 -0800
if inet_ntop() is available, use it, even if IPv6 support is disabled
Support for using inet_ntop() was originally added to support IPv6,
and only used if IPv6 support was enabled. Two decades later, support
for inet_ntop() is ubiquitous and OS'es have marked inet_ntoa()
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/28>
More information about the xorg-commit
mailing list