summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-19 10:05:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-19 10:05:54 +0000
commitd675dbc2798ba922adb3afdffc6d8a2d9d6e5139 (patch)
treed29ea9a51c33be940c7c4473df64805351950beb /eval.c
parentc7d2ebd71ee024db66c1630fed24d83fead4ac35 (diff)
* lib/xmlrpc: import.
* eval.c (thgroup_add): should return group for terminated thread case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4102 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 1a77432..57260f9 100644
--- a/eval.c
+++ b/eval.c
@@ -9944,7 +9944,7 @@ thgroup_add(group, thread)
if (!th->thgroup) {
rb_warn("terminated thread");
- return;
+ return group;
}
if (OBJ_FROZEN(th->thgroup)) {
rb_raise(rb_eThreadError, "can't move from the frozen thread group");