1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
nobu 2009-06-22 07:26:16 +00:00
parent 877acd03f6
commit 4a81d13592
2 changed files with 4 additions and 4 deletions

View file

@ -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
View file

@ -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("."));
}
}