diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-01 13:05:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-01 13:05:54 +0000 |
commit | b9f5cab23a086e864c1f7ec420faee7f77245e53 (patch) | |
tree | 0784302d942f726821bb54a64306a4c5ce26d191 /file.c | |
parent | 31e6dfee6c066ebfe82d5898b00924f112285331 (diff) | |
download | ruby-b9f5cab23a086e864c1f7ec420faee7f77245e53.tar.gz |
load.c: convert by rb_get_path_check
* load.c (rb_require_internal): convert to path name with the
given safe level, without setting global safe level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -200,7 +200,7 @@ rb_get_path_check_convert(VALUE obj, VALUE tmp, int level) return rb_str_new4(tmp); } -static VALUE +VALUE rb_get_path_check(VALUE obj, int level) { VALUE tmp = rb_get_path_check_to_string(obj, level); |