mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval_method.ci (rb_alias): no need to skip aliasing when new
equals to old. [ruby-core:13990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6fd91d288c
commit
c6fa37e2f0
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Dec 12 21:26:03 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* 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 <matz@ruby-lang.org>
|
||||
|
||||
* io.c (rb_io_check_readable): set default external encoding to
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue