summaryrefslogtreecommitdiffstats
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
commit4dbf5f63cd6eb082e2aa0dbb40fabf07063da538 (patch)
treed29ea9a51c33be940c7c4473df64805351950beb /eval.c
parent935722fb0334cfa9ab3fca7316be5d9f79e9a615 (diff)
downloadruby-4dbf5f63cd6eb082e2aa0dbb40fabf07063da538.tar.gz
ruby-4dbf5f63cd6eb082e2aa0dbb40fabf07063da538.tar.xz
ruby-4dbf5f63cd6eb082e2aa0dbb40fabf07063da538.zip
* lib/xmlrpc: import.
* eval.c (thgroup_add): should return group for terminated thread case. git-svn-id: http://svn.ruby-lang.org/repos/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 1a774323e..57260f9c4 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");