diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-30 09:26:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-30 09:26:09 +0000 |
commit | 38af94c6abaaa20aeaa1ffafbe3f6ff962f63eaa (patch) | |
tree | ee5ca5d6f52312d1d6fd79c8e1f01ad3014ca45d /include | |
parent | 635bdf6f13712b7bb536a469734a5b4446e1923e (diff) | |
download | ruby-38af94c6abaaa20aeaa1ffafbe3f6ff962f63eaa.tar.gz |
* file.c (rb_file_dirname): split from rb_file_s_dirname.
* load.c (rb_f_require_relative): use absolute path instead of
expanded path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27111 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 1ae13ee73b..c53728eec8 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -355,6 +355,7 @@ VALUE rb_file_s_expand_path(int, VALUE *); VALUE rb_file_expand_path(VALUE, VALUE); VALUE rb_file_s_absolute_path(int, VALUE *); VALUE rb_file_absolute_path(VALUE, VALUE); +VALUE rb_file_dirname(VALUE fname); void rb_file_const(const char*, VALUE); int rb_file_load_ok(const char *); int rb_find_file_ext_safe(VALUE*, const char* const*, int); |