mirror of
https://github.com/brl/mutter.git
synced 2025-03-25 12:43:52 +00:00

The caller in clutter really expects an error if fd==-1, so make sure we set one here. Otherwise we get a nice crash in addition to the failure to open the /sys file. Also, retry on EINTR. https://bugzilla.gnome.org/show_bug.cgi?id=784881
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%