1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2008-03-06 01:33:56 +00:00
parent 98cbcf1bd7
commit bececd35c5
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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);
}