diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-11-29 15:57:25 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-11-29 15:57:25 +0000 |
| commit | d300a4a2fb3eeaa5fad17adfc0407a885c9152ba (patch) | |
| tree | dd7c8c1a9bb43c226ca5e1702b418f11a94ffd3e /eval.c | |
| parent | 8c1a41589c8cdd898b0da42cef09f9c68e0bcf1f (diff) | |
| download | ruby-d300a4a2fb3eeaa5fad17adfc0407a885c9152ba.tar.gz ruby-d300a4a2fb3eeaa5fad17adfc0407a885c9152ba.tar.xz ruby-d300a4a2fb3eeaa5fad17adfc0407a885c9152ba.zip | |
* string.c (rb_str_equal): object with to_str must be treated as a
string.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
