diff --git a/ChangeLog b/ChangeLog index a18e72216b..f516098c1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 12 21:26:03 2007 Yukihiro Matsumoto + + * eval_method.ci (rb_alias): no need to skip aliasing when new + equals to old. [ruby-core:13990] + Wed Dec 12 16:34:53 2007 Yukihiro Matsumoto * io.c (rb_io_check_readable): set default external encoding to diff --git a/eval_method.ci b/eval_method.ci index 4e07ee7d6e..8ebe252ee4 100644 --- a/eval_method.ci +++ b/eval_method.ci @@ -563,8 +563,6 @@ rb_alias(VALUE klass, ID name, ID def) st_data_t data; rb_frozen_class_p(klass); - if (name == def) - return; if (klass == rb_cObject) { rb_secure(4); }