From b9f5cab23a086e864c1f7ec420faee7f77245e53 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 1 Jun 2017 13:05:54 +0000 Subject: 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 --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file.c') 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); -- cgit v1.2.3