[macruby-changes] [2404] MacRuby/trunk/vm_eval.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 28 04:35:51 PDT 2009
Revision: 2404
http://trac.macosforge.org/projects/ruby/changeset/2404
Author: vincent.isambart at gmail.com
Date: 2009-08-28 04:35:48 -0700 (Fri, 28 Aug 2009)
Log Message:
-----------
fixed some of Laurent's strange code ;)
Modified Paths:
--------------
MacRuby/trunk/vm_eval.c
Modified: MacRuby/trunk/vm_eval.c
===================================================================
--- MacRuby/trunk/vm_eval.c 2009-08-28 05:27:55 UTC (rev 2403)
+++ MacRuby/trunk/vm_eval.c 2009-08-28 11:35:48 UTC (rev 2404)
@@ -252,7 +252,7 @@
for (;;) {
rb_yield(Qundef);
RETURN_IF_BROKEN();
- if (++count < 100) {
+ if (++count >= 100) {
TEST_THREAD_CANCEL();
count = 0;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090828/d8b00337/attachment.html>
More information about the macruby-changes
mailing list