summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 07:26:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-22 07:26:16 +0000
commit4a81d1359221170c213f1cca8c008def9d4b5b55 (patch)
tree99a3f616492ff370193d9b669afef94d04fabb40
parent877acd03f60c76e94da377ec5838fd5bb95725d7 (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--ruby.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 410f45b9da8..6014cbcd625 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ruby.c b/ruby.c
index 76f5125b07b..975a5c94195 100644
--- a/ruby.c
+++ b/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("."));
- }
}