Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' into no_string_bindings

* master:
  Do not raise on EM.epoll/kqueue to maintain backwards compat; Only EM.epoll=/kqueue= will raise EM::Unsupported
  • Loading branch information...
commit b23eb43459c9e9bb204aed22255101b6c2bcf711 2 parents b6fc287 + 5efae6d
@tmm1 tmm1 authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 ext/rubymain.cpp
View
6 ext/rubymain.cpp
@@ -761,9 +761,6 @@ t__epoll
static VALUE t__epoll (VALUE self)
{
- if (t__epoll_p(self) == Qfalse)
- rb_raise (EM_eUnsupported, "epoll is not supported on this platform");
-
evma_set_epoll (1);
return Qtrue;
}
@@ -801,9 +798,6 @@ t__kqueue
static VALUE t__kqueue (VALUE self)
{
- if (t__kqueue_p(self) == Qfalse)
- rb_raise (EM_eUnsupported, "kqueue is not supported on this platform");
-
evma_set_kqueue (1);
return Qtrue;
}
Please sign in to comment.
Something went wrong with that request. Please try again.