maintainer-feedback requested: [Bug 254919] x11/libxkbcommon: fix xkbcli interactive-wayland when posix_fallocate() isn't supported by fs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 9 14:17:56 UTC 2021


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11 at FreeBSD.org> for maintainer-feedback:
Bug 254919: x11/libxkbcommon: fix xkbcli interactive-wayland when
posix_fallocate() isn't supported by fs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254919



--- Description ---
XDG_RUNTIME_DIR may be pointed to a filesystem that doesn't support
posix_fallocate() (e.g. ZFS). Running the xkbcli interactive-wayland keymap
test then fails. The following patch fixes this use case. I plan to send it
upstream this week.

Reviewed by: jbeich@, zeising@ (via Gitter)
Inspired by:
https://gitlab.freedesktop.org/wayland/wayland/-/blob/1.19.0/cursor/os-compatib
ility.c#L168-178


More information about the freebsd-x11 mailing list