aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorIhor Antonov <ihor@antonovs.family>2020-01-17 21:13:12 -0800
committerSimon Ser <contact@emersion.fr>2020-01-23 20:32:59 +0000
commit8e2199644e4fc34ebf46ea65b7598517eaa69f18 (patch)
treeda60a6595452028ba59a68115d54a384e9e9bfdc /meson.build
parentRemove unused HAVE_CONFIG_H define in meson (diff)
downloadwayland-8e2199644e4fc34ebf46ea65b7598517eaa69f18.tar
wayland-8e2199644e4fc34ebf46ea65b7598517eaa69f18.tar.gz
wayland-8e2199644e4fc34ebf46ea65b7598517eaa69f18.tar.bz2
wayland-8e2199644e4fc34ebf46ea65b7598517eaa69f18.tar.lz
wayland-8e2199644e4fc34ebf46ea65b7598517eaa69f18.tar.xz
wayland-8e2199644e4fc34ebf46ea65b7598517eaa69f18.tar.zst
wayland-8e2199644e4fc34ebf46ea65b7598517eaa69f18.zip
os: fallback for unsupported posix_fallocate
Some filesystems do not support fallocate and return EOPNOTSUPP. On musl-based distros libwayland-cursor exits abruptly which causes the application to crash. Unlike glibc, musl does not provide a fallback mechanism for handling unsupported fallocate. Instead, musl developers argue that application should handle the case of unsupported system call. This commit allows falback to ftruncate in case when EOPNOTSUPP was recieved. Signed-off-by: Ihor Antonov <ihor@antonovs.family>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions