Merge pull request #5 from vonj/master

O_CLOEXEC does not exist in Debian 6 GLIBC/EGLIBC, use EPOLL_CLOEXEC instead.
This commit is contained in:
Joachim Nilsson committed 2015-06-13 19:42:27 +02:00
commit 6637804b80
1 file changed
+1 -1
+1 -1
View File
@@ -37,7 +37,7 @@
static int _init(uev_ctx_t *ctx, int close_old)
{
int fd = epoll_create1(O_CLOEXEC);
int fd = epoll_create1(EPOLL_CLOEXEC);
if (fd < 0)
return -1;