Ticket #7012: epoll.patch
File epoll.patch, 386 bytes (added by , 10 years ago) |
---|
-
epoll_reactor.
old new int epoll_reactor::do_epoll_create() 440 440 errno = EINVAL; 441 441 #endif // defined(EPOLL_CLOEXEC) 442 442 443 if (fd == -1 && errno == EINVAL)443 if (fd == -1 && (errno == EINVAL || errno == ENOSYS)) 444 444 { 445 445 fd = epoll_create(epoll_size); 446 446 if (fd != -1)