diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-13 01:34:38 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-13 01:34:38 +0000 |
commit | d9fe7ef4924d0e30a0de4ca7ee9c45638b8ebcb4 (patch) | |
tree | 9cf3d1c956ed183dca2830b08e1232636ccfe557 /include | |
parent | fd684f1082e25f1752ba2bfcd7c3b3525261795b (diff) | |
download | ruby-d9fe7ef4924d0e30a0de4ca7ee9c45638b8ebcb4.tar.gz |
* load.c (rb_get_expanded_load_path): does not expand paths if all
the items in $: are absolute paths. [ruby-core:28113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 61f642b06a..1ae13ee73b 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -366,6 +366,7 @@ char *rb_path_skip_prefix(const char *); char *rb_path_last_separator(const char *); char *rb_path_end(const char *); VALUE rb_file_directory_p(VALUE,VALUE); +int rb_is_absolute_path(const char *); /* gc.c */ void ruby_set_stack_size(size_t); NORETURN(void rb_memerror(void)); |