I ran foot terminal application and got this error.
18:52:18 WARN src/syscall/mem.c:1487: file overlay: ftruncate(7, 2097152) failed: Invalid argument
warn: main.c:464: 'C' is not a UTF-8 locale, falling back to 'C.UTF-8'
18:52:18 WARN src/syscall/mem.c:1487: file overlay: ftruncate(7, 2097152) failed: Invalid argument
warn: config.c:4069: DejaVu Sans: font does not appear to be monospace; check your config, or disable this warning by setting [tweak].font-monospace-warn=no
err: wayland.c:1333: failed to create keyboard repeat timer FD: Inappropriate ioctl for device
err: wayland.c:1763: no seats available (wl_seat interface too old?)
ELF entry : 0x561c0
Load range : 0x0 – 0x90ca0
Segments : 2
fd.c — CLOCK_BOOTTIME (the keyboard repeat timer crash)
foot requests timerfd_create(CLOCK_BOOTTIME, ...) for its keyboard repeat timer. elfuse only accepted CLOCK_REALTIME and CLOCK_MONOTONIC, returning EINVAL for everything else — which foot's wayland.c misreports as "Inappropriate ioctl for device".
mem.c — ftruncate EINVAL warning (the O_RDONLY fd case), fds received from wayland compositor via SCM_RIGHTS may be shm_open objects opened read-only — macOS returns EINVAL for ftruncate on those. Now we fcntl(F_GETFL) first and only attempt ftruncate if the fd is writable. The cast for required is also corrected to off_t arithmetic throughout.
I ran foot terminal application and got this error.
fd.c — CLOCK_BOOTTIME (the keyboard repeat timer crash)
foot requests timerfd_create(CLOCK_BOOTTIME, ...) for its keyboard repeat timer. elfuse only accepted CLOCK_REALTIME and CLOCK_MONOTONIC, returning EINVAL for everything else — which foot's wayland.c misreports as "Inappropriate ioctl for device".
mem.c — ftruncate EINVAL warning (the O_RDONLY fd case), fds received from wayland compositor via SCM_RIGHTS may be shm_open objects opened read-only — macOS returns EINVAL for ftruncate on those. Now we fcntl(F_GETFL) first and only attempt ftruncate if the fd is writable. The cast for required is also corrected to off_t arithmetic throughout.