Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Apr 2021 14:17:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 254919] x11/libxkbcommon: fix xkbcli interactive-wayland when posix_fallocate() isn't supported by fs
Message-ID:  <bug-254919-7141-AoBn7touco@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254919-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254919-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@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=3D254919



--- 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-comp=
atib
ility.c#L168-178



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254919-7141-AoBn7touco>