mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 10:03:59 +02:00
* 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
This commit is contained in:
parent
635bdf6f13
commit
38af94c6ab
4 changed files with 17 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue