mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
77f8b0db8d
commit
e4fae8da4b
7 changed files with 45 additions and 10 deletions
|
@ -1053,6 +1053,10 @@ rb_autoload_load(id)
|
|||
VALUE module;
|
||||
|
||||
st_delete(autoload_tbl, &id, &modname);
|
||||
if (rb_provided(modname)) {
|
||||
free(modname);
|
||||
return;
|
||||
}
|
||||
module = rb_str_new2(modname);
|
||||
free(modname);
|
||||
FL_UNSET(module, FL_TAINT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue