mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-17 19:31:18 +00:00
uev_init() leaves the context descriptor at 0 when epoll_create1() fails. A following uev_exit() then closes stdin. Set it to -1 before creating the epoll descriptor.