aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-01 13:05:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-01 13:05:54 +0000
commit69526e79736a329b441461ef7456bc6f2f5ce176 (patch)
tree0784302d942f726821bb54a64306a4c5ce26d191 /file.c
parentf800e764dcb60935a5faf29eaf280aff5d689ed5 (diff)
downloadruby-69526e79736a329b441461ef7456bc6f2f5ce176.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 2af6b75874..71bc0ba8cf 100644
--- a/file.c
+++ b/file.c
@@ -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);