Skip to content

Commit

Permalink
Merge branch 'master' into no_string_bindings
Browse files Browse the repository at this point in the history
* master:
  Do not raise on EM.epoll/kqueue to maintain backwards compat; Only EM.epoll=/kqueue= will raise EM::Unsupported
  • Loading branch information
tmm1 committed Jul 12, 2009
2 parents b6fc287 + 5efae6d commit b23eb43
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ext/rubymain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit b23eb43

Please sign in to comment.