diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | object.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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. @@ -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); } |