diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-31 04:16:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-31 04:16:51 +0000 |
commit | 466d685a76b39695ac20cd9f55957e2e54b7636e (patch) | |
tree | ba92767419a4f37ecaff85a797cf89b09710ca23 /variable.c | |
parent | 74d5623029b0b8fb987a45190f3a3eac082990e1 (diff) | |
download | ruby-466d685a76b39695ac20cd9f55957e2e54b7636e.tar.gz |
* variable.c (rb_obj_classname): wrong tail recursion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 27704111e2..4a7bcd4ee5 100644 --- a/variable.c +++ b/variable.c @@ -315,7 +315,7 @@ char * rb_obj_classname(obj) VALUE obj; { - return rb_obj_classname(obj); + return rb_class2name(CLASS_OF(obj)); } struct trace_var { |