variable.c: Change autoload to call require through Ruby rather than directly calling rb_require_safe. This allows things like RubyGems to intercept file loading done though autoload. [Feature #11140]
require
rb_require_safe
autoload
test/ruby/test_autoload.rb: Test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
variable.c: Change autoload to call
require
through Ruby ratherthan directly calling
rb_require_safe
. This allows things likeRubyGems to intercept file loading done though
autoload
.[Feature #11140]
test/ruby/test_autoload.rb: Test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e