зеркало из https://github.com/github/ruby.git
* ruby.c (ruby_init_loadpath_safe): removed "." from load_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
877acd03f6
Коммит
4a81d13592
|
@ -1,3 +1,7 @@
|
|||
Mon Jun 22 16:26:11 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (ruby_init_loadpath_safe): removed "." from load_path.
|
||||
|
||||
Mon Jun 22 16:14:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* compile.c (iseq_set_arguments, iseq_compile_each): internal
|
||||
|
|
4
ruby.c
4
ruby.c
|
@ -439,10 +439,6 @@ ruby_init_loadpath_safe(int safe_level)
|
|||
incpush(RUBY_RELATIVE(paths, len));
|
||||
paths += len + 1;
|
||||
}
|
||||
|
||||
if (safe_level == 0) {
|
||||
rb_ary_push(load_path, rb_str_new_cstr("."));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче