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 /internal.h | |
parent | 31e6dfee6c066ebfe82d5898b00924f112285331 (diff) |
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 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 62b2664ebb..a4136e29e5 100644 --- a/internal.h +++ b/internal.h @@ -1168,6 +1168,7 @@ VALUE rb_file_expand_path_fast(VALUE, VALUE); VALUE rb_file_expand_path_internal(VALUE, VALUE, int, int, VALUE); VALUE rb_get_path_check_to_string(VALUE, int); VALUE rb_get_path_check_convert(VALUE, VALUE, int); +VALUE rb_get_path_check(VALUE, int); void Init_File(void); int ruby_is_fd_loadable(int fd); |