summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-13 17:34:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-13 17:34:50 +0000
commit83fbff2f748f49e393f78da58fa50ab7e01e96a1 (patch)
treefd525f240eb044835a72a068b92d160fd0e6810b /eval.c
parente7257aa72e817601c033c256c1df388f2b03dcbc (diff)
commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 928cd37957..de615d29a5 100644
--- a/eval.c
+++ b/eval.c
@@ -6077,8 +6077,7 @@ rb_require_safe(fname, safe)
}
/* partial state */
ftptr = ruby_strdup(RSTRING(feature)->ptr);
- st_insert(loading_tbl, (st_data_t)ftptr,
- (st_data_t)(mutex = rb_thread_mutex_new(Qtrue)));
+ st_insert(loading_tbl, (st_data_t)ftptr, (st_data_t)curr_thread);
if (feature == fname && !OBJ_FROZEN(feature)) {
feature = rb_str_dup(feature);
OBJ_FREEZE(feature);