mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval_method.ci (rb_alias): do not call hook functions until
initialization finishes. [ruby-talk:279538] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
16dc06014c
commit
c719cd9b46
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Nov 18 14:03:44 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* eval_method.ci (rb_alias): do not call hook functions until
|
||||||
|
initialization finishes. [ruby-talk:279538]
|
||||||
|
|
||||||
Sun Nov 18 09:09:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Nov 18 09:09:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.
|
* lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.
|
||||||
|
|
|
@ -603,6 +603,8 @@ rb_alias(VALUE klass, ID name, ID def)
|
||||||
|
|
||||||
rb_clear_cache_by_id(name);
|
rb_clear_cache_by_id(name);
|
||||||
|
|
||||||
|
if (!ruby_running) return;
|
||||||
|
|
||||||
if (singleton) {
|
if (singleton) {
|
||||||
rb_funcall(singleton, singleton_added, 1, ID2SYM(name));
|
rb_funcall(singleton, singleton_added, 1, ID2SYM(name));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue