Skip to content

Port klipper away from select() to poll()

Vlad Zahorodnii requested to merge work/wayland-clipboard-poll into master

select() is not safe, it can corrupt stack if the polled fd is greater than FD_SETSIZE. poll() is a much safer alternative. Unlike 20 or so years ago, many unix systems support poll() nowadays, so we can safely use it.

Merge request reports