[mirrors/wayland]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for mirrors/wayland Pushed by mirror-service into branch 'main'. Changed from 5a819837646842aa74cb0a1b3c74d2fe14694ac6 to ed0b9f17118653df9867b109fb521c59f09069ab Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit 67c70441637568b287f1f5de18ed9d15d31ed2d1 by Jeremy Huddleston Sequoia on 03/08/2026 at 14:47.. os: Key wl_os_socket_peercred() on LOCAL_PEERCRED, not FreeBSD The LOCAL_PEERCRED socket option and its struct xucred contract are not unique to FreeBSD; darwin provides them as well. Key the existing implementation off the socket option rather than the host OS so that those platforms stop tripping the "Don't know how to read ucred on this platform" #error. Platforms whose struct xucred carries no cr_pid member (eg: darwin) still report a pid of 0 here. This limitation can be addressed through the use of LOCAL_PEERPID (see !290 for more details). Signed-off-by: Jeremy Huddleston Sequoia <[email protected]> https://invent.kde.org/mirrors/wayland/-/commit/67c70441637568b287f1f5de18ed9d15d31ed2d1 Git commit eb098bc693cff3908e1025a5674758a4547ec285 by Jeremy Huddleston Sequoia on 03/08/2026 at 14:47.. os: Use fallback implementations when *_CLOEXEC are unavailable at build time On platforms without F_DUPFD_CLOEXEC, MSG_CMSG_CLOEXEC, or SOCK_CLOEXEC, we should skip past their usage and just use the fcntl() fallback. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]> https://invent.kde.org/mirrors/wayland/-/commit/eb098bc693cff3908e1025a5674758a4547ec285 Git commit 332dafb5c962bd9def3fd5e897e1206aee35e47a by Jeremy Huddleston Sequoia (on behalf of Weijia Wang) on 03/08/2026 at 14:47.. os: Provide wl_os_socketpair_cloexec wrapper for systems without SOCK_CLOEXEC Reviewed-by: Jeremy Huddleston Sequoia <[email protected]> Signed-off-by: Weijia Wang <[email protected]> https://invent.kde.org/mirrors/wayland/-/commit/332dafb5c962bd9def3fd5e897e1206aee35e47a Git commit cc4f2dda67f7dc867ec055ca3e349bb45220e4a0 by Jeremy Huddleston Sequoia on 03/08/2026 at 14:47.. shm: Avoid unused variable warning !HAVE_MEMFD_CREATE case ../src/wayland-shm.c:307:14: warning: unused variable 'statbuf' struct stat statbuf; ^ ../src/wayland-shm.c:308:6: warning: unused variable 'seals' int seals; ^ 2 warnings generated. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]> https://invent.kde.org/mirrors/wayland/-/commit/cc4f2dda67f7dc867ec055ca3e349bb45220e4a0 Git commit a4009b7073a96d2da46e6d8b70a3cbf4d976eeaf by Jeremy Huddleston Sequoia on 03/08/2026 at 14:47.. client: Use poll() as fallback when ppoll() is unavailable On platforms like darwin that lack ppoll(), fall back to poll() with a millisecond timeout. Since the ppoll() call uses a NULL signal mask, the behavior is equivalent. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]> https://invent.kde.org/mirrors/wayland/-/commit/a4009b7073a96d2da46e6d8b70a3cbf4d976eeaf Git commit ed0b9f17118653df9867b109fb521c59f09069ab by Jeremy Huddleston Sequoia on 03/08/2026 at 14:47.. tests: Avoid the memrchr() GNU extension in last_line_of() memrchr() is a GNU extension that platforms such as darwin do not provide. Scan forward with strchr() instead, skipping a trailing newline, which yields the same result using only POSIX interfaces and lets the _GNU_SOURCE definition go away entirely. Signed-off-by: Jeremy Huddleston Sequoia <[email protected]> https://invent.kde.org/mirrors/wayland/-/commit/ed0b9f17118653df9867b109fb521c59f09069ab