Ticket #7012: epoll.patch

File epoll.patch, 386 bytes (added by Oleg Grunin <oleg00@…>, 10 years ago)

patch

  • epoll_reactor.

    old new int epoll_reactor::do_epoll_create()  
    440440  errno = EINVAL;
    441441#endif // defined(EPOLL_CLOEXEC)
    442442
    443   if (fd == -1 && errno == EINVAL)
     443  if (fd == -1 && (errno == EINVAL || errno == ENOSYS))
    444444  {
    445445    fd = epoll_create(epoll_size);
    446446    if (fd != -1)