diff --git a/ChangeLog b/ChangeLog index 45bf291a99..54b20f24c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 17 09:39:29 2006 Yukihiro Matsumoto + + * eval.c (rb_thread_wait_for): sleep should always sleep for + specified amount of time. [ruby-talk:180067] + Wed Feb 15 16:52:52 2006 Yukihiro Matsumoto * eval.c (rb_eval): NODE_OP_ASGN1 should allow splat in its diff --git a/eval.c b/eval.c index 11788bd395..4cded4980c 100644 --- a/eval.c +++ b/eval.c @@ -10856,7 +10856,7 @@ rb_thread_wait_for(struct timeval time) #ifdef ERESTART case ERESTART: #endif - return; + break; default: rb_sys_fail("sleep"); }