wayland/cursor
Ihor Antonov 8e2199644e 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>
2020-01-23 20:32:59 +00:00
..
convert_font.c
cursor-data.h
cursor.pcf
meson.build Add Meson build 2020-01-10 23:44:38 +01:00
os-compatibility.c os: fallback for unsupported posix_fallocate 2020-01-23 20:32:59 +00:00
os-compatibility.h
wayland-cursor-uninstalled.pc.in
wayland-cursor.c
wayland-cursor.h cursor: add forward declaration for struct wl_buffer 2017-12-04 19:45:38 +00:00
wayland-cursor.pc.in
xcursor.c
xcursor.h