… | … | ||
---|---|---|---|
236 | epoll_init (EV_P_ int flags) | 236 | epoll_init (EV_P_ int flags) |
237 | { | 237 | { |
238 | #ifdef EPOLL_CLOEXEC | 238 | #ifdef EPOLL_CLOEXEC |
239 | backend_fd = epoll_create1 (EPOLL_CLOEXEC); | 239 | backend_fd = epoll_create1 (EPOLL_CLOEXEC); |
240 | 240 | ||
241 | if (backend_fd <= 0) | 241 | if (backend_fd < 0) |
242 | #endif | 242 | #endif |
243 | backend_fd = epoll_create (256); | 243 | backend_fd = epoll_create (256); |
244 | 244 | ||
245 | if (backend_fd < 0) | 245 | if (backend_fd < 0) |
246 | return 0; | 246 | return 0; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |