From 23303b8a63df927cd81b9947dd48e1b416e2a39c Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 29 Nov 2001 15:57:25 +0000 Subject: * string.c (rb_str_equal): object with to_str must be treated as a string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 0277f54879..18abc8a6de 100644 --- a/eval.c +++ b/eval.c @@ -7680,7 +7680,7 @@ rb_thread_schedule() if (select_timeout && n == 0) { if (now < 0.0) now = timeofday(); FOREACH_THREAD_FROM(curr, th) { - if ((th->wait_for & (WAIT_SELECT|WAIT_TIME)) && th->delay < now) { + if ((th->wait_for & (WAIT_SELECT|WAIT_TIME)) && th->delay <= now) { th->status = THREAD_RUNNABLE; th->wait_for = 0; th->select_value = 0; -- cgit v1.2.3