summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-17 01:06:48 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-17 01:06:48 +0000
commit651a2bddd5191ab433701212c096cfc87a8896b3 (patch)
tree92557bf81070b03cd85921b9f9a17964507339ba /eval.c
parentff0e9cea81113319f2273c880e8e28a48fef700d (diff)
downloadruby-651a2bddd5191ab433701212c096cfc87a8896b3.tar.gz
ruby-651a2bddd5191ab433701212c096cfc87a8896b3.tar.xz
ruby-651a2bddd5191ab433701212c096cfc87a8896b3.zip
* eval.c (rb_thread_wait_for): sleep should always sleep for
specified amount of time. [ruby-talk:180067] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 11788bd39..4cded4980 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");
}