| # | Line 45 | Line 45 | static int epoll_fd; | |
|---|---|---|
| 45 | void | |
| 46 | comm_select_init(void) | |
| 47 | { | |
| 48 | < | if ((epoll_fd = epoll_create(hard_fdlimit)) < 0) |
| 48 | > | if ((epoll_fd = epoll_create1(EPOLL_CLOEXEC)) < 0) |
| 49 | { | |
| 50 | ilog(LOG_TYPE_IRCD, "comm_select_init: couldn't open epoll fd: %s", | |
| 51 | strerror(errno)); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |