From eaba9da1d13fac380fe94f977d7f8d89bd40cde0 Mon Sep 17 00:00:00 2001 From: nagachika Date: Fri, 16 Feb 2018 16:25:40 +0000 Subject: merge revision(s) 59983,59984: [Backport #10222] [Backport #14372] [Backport #14424] file.c: rb_check_realpath * file.c (rb_check_realpath): returns real path which has no symbolic links. similar to rb_realpath except for returning Qnil if any parts did not exist. load.c: real path to load * load.c (rb_construct_expanded_load_path): expand load paths to real paths to get rid of duplicate loading from symbolic-linked directories. [Feature #10222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@62440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 6012376353..95fc9822e1 100644 --- a/internal.h +++ b/internal.h @@ -1051,6 +1051,7 @@ void rb_mark_end_proc(void); VALUE rb_home_dir_of(VALUE user, VALUE result); VALUE rb_default_home_dir(VALUE result); VALUE rb_realpath_internal(VALUE basedir, VALUE path, int strict); +VALUE rb_check_realpath(VALUE basedir, VALUE path); void rb_file_const(const char*, VALUE); int rb_file_load_ok(const char *); VALUE rb_file_expand_path_fast(VALUE, VALUE); -- cgit v1.2.3