wayland/cursor
Olivier Fourdan dd00220b1e cursor/os-compatibility: handle EINTR gracefully
If os_resize_anonymous_file() called from os_create_anonymous_file()
fails with EINTR (Interrupted system call), then the buffer allocation
fails.

To avoid that, retry posix_fallocate() on EINTR.

However, in the presence of an alarm, the interrupt may trigger
repeatedly and prevent a large posix_fallocate() to ever complete
successfully, so we need to first block SIGALRM to prevent this.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2022-06-09 19:18:47 +00:00
..
convert_font.c cursor/convert_font.c: malloc cannot guarantee that the memory allocated is always successful 2020-10-29 13:00:20 +00:00
cursor-data.h
cursor.pcf
meson.build meson: override dependencies to ease use as subproject 2021-12-08 00:27:58 +01:00
os-compatibility.c cursor/os-compatibility: handle EINTR gracefully 2022-06-09 19:18:47 +00:00
os-compatibility.h
wayland-cursor.c cursor: rename functions to snake case 2022-05-23 08:59:05 +00:00
wayland-cursor.h
xcursor.c Check that XDG base directories paths are absolute 2022-06-09 18:34:17 +00:00
xcursor.h cursor: rename functions to snake case 2022-05-23 08:59:05 +00:00