* eval.c (rb_thread_wait_for): sleep should always sleep for

specified amount of time.  [ruby-talk:180067]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-02-17 00:42:32 +00:00
parent 1c34d5465a
commit 26899051a0
2 changed files with 6 additions and 1 deletions

2
eval.c
View file

@ -10777,7 +10777,7 @@ rb_thread_wait_for(time)
#ifdef ERESTART
case ERESTART:
#endif
return;
break;
default:
rb_sys_fail("sleep");
}