diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-03 08:13:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-03 08:13:26 +0000 |
commit | aacc35e144f2a3d5c145f85e337accd55a8acc90 (patch) | |
tree | 11c7af24794357a7a0fdfac687fe187067cf13d9 /load.c | |
parent | 638ba47303dbc54ea84147cbb21935b251f670da (diff) | |
download | ruby-aacc35e144f2a3d5c145f85e337accd55a8acc90.tar.gz |
encoding.c: load by rb_require_internal
* encoding.c (load_encoding): use rb_require_internal instead of
calling rb_require_safe with protection.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
-rw-r--r-- | load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -947,7 +947,7 @@ load_ext(VALUE path) * <0: not found (LoadError) * >1: exception */ -static int +int rb_require_internal(VALUE fname, int safe) { volatile int result = -1; |