mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Revert File.absolute_path logic
The error was introduced by commit 7b9d1da3fc.
This commit is contained in:
@@ -653,7 +653,7 @@ mrb_file_absolute_path(mrb_state *mrb, mrb_value self)
|
||||
const char *path;
|
||||
const char *default_dir = ".";
|
||||
mrb_get_args(mrb, "z|z", &path, &default_dir);
|
||||
return path_expand(mrb, path, default_dir, TRUE);
|
||||
return path_expand(mrb, path, default_dir, FALSE);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user