mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
This commit is contained in:
parent
76e2370f13
commit
7817a6fa09
1 changed files with 1 additions and 1 deletions
2
load.c
2
load.c
|
@ -1015,7 +1015,7 @@ rb_require_internal(VALUE fname, int safe)
|
|||
RUBY_DTRACE_HOOK(FIND_REQUIRE_RETURN, RSTRING_PTR(fname));
|
||||
|
||||
if (found) {
|
||||
if (!path || !(path = rb_fstring(path), ftptr = load_lock(RSTRING_PTR(path)))) {
|
||||
if (!path || !(path = rb_fstring(path), ftptr = load_lock(RSTRING_PTR(path)))) {
|
||||
result = 0;
|
||||
}
|
||||
else if (!*ftptr) {
|
||||
|
|
Loading…
Reference in a new issue