Skip to content

Conversation

@madsmtm
Copy link
Member

@madsmtm madsmtm commented Jan 27, 2026

This should improve portability of using this API, as stated in the man page.

Found this while perusing the code, not actually a bug I've hit myself.

This should improve portability of this API, as stated in the man page:
https://www.man7.org/linux/man-pages/man3/shm_open.3.html
@madsmtm madsmtm added DS - Wayland DS - X11 Xlib / Xcb backend labels Jan 27, 2026
@madsmtm madsmtm merged commit 25ca307 into master Jan 27, 2026
40 checks passed
@madsmtm madsmtm deleted the madsmtm/preceding-slash branch January 27, 2026 18:44
@ids1024
Copy link
Member

ids1024 commented Jan 28, 2026

If we wanted to use the Wayland or X11 backends on macOS, it's implementation of shm_open is more restrictive; I think it was also fairly limited in the maximum length of the name. Linux and BSDs seem fairly permissive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DS - Wayland DS - X11 Xlib / Xcb backend

Development

Successfully merging this pull request may close these issues.

4 participants