summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-06 01:33:56 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-06 01:33:56 +0000
commitbececd35c5e177de014a0faf83da03db119a825c (patch)
treeb478af1f9004c8789b0af93dc2856236c1d9964b
parent98cbcf1bd7909306d2ba542aaff2eceb71ccb5c1 (diff)
* object.c (rb_mod_freeze): call rb_class_name() directly.
[ruby-core:15802] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--object.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e289a15b78..96047190e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Mar 6 08:30:42 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * object.c (rb_mod_freeze): call rb_class_name() directly.
+ [ruby-core:15802]
+
Thu Mar 6 04:32:06 2008 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (count_utf8_lead_bytes_with_ulong): fix shift size.
diff --git a/object.c b/object.c
index f7d96e238f..80bd1673c3 100644
--- a/object.c
+++ b/object.c
@@ -1121,7 +1121,7 @@ rb_mod_to_s(VALUE klass)
static VALUE
rb_mod_freeze(VALUE mod)
{
- rb_mod_to_s(mod);
+ rb_class_name(mod);
return rb_obj_freeze(mod);
}