diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-03 20:45:52 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-03 20:45:52 +0000 |
| commit | a76e2021d00939bad0a18309539d2a48974a44d1 (patch) | |
| tree | 7d0f5688d6c79e090e589905deca12d7ff0d92fe | |
| parent | 3faee7bcbfa501a61d745711ea37ab1852944707 (diff) | |
| download | ruby-a76e2021d00939bad0a18309539d2a48974a44d1.tar.gz ruby-a76e2021d00939bad0a18309539d2a48974a44d1.tar.xz ruby-a76e2021d00939bad0a18309539d2a48974a44d1.zip | |
* thread.c (recursive_push): need to set UNTRUST. [ruby-dev:38997]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | thread.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Tue Aug 4 05:43:03 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * thread.c (recursive_push): need to set UNTRUST. [ruby-dev:38997] + Tue Aug 4 03:56:51 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * ext/tk/lib/tcltklib.c: fix trouble on old-style C function @@ -3354,6 +3354,7 @@ recursive_push(VALUE hash, VALUE obj, VALUE paired_obj) sym = ID2SYM(rb_frame_this_func()); if (NIL_P(hash) || TYPE(hash) != T_HASH) { hash = rb_hash_new(); + OBJ_UNTRUST(hash); rb_thread_local_aset(rb_thread_current(), recursive_key, hash); list = Qnil; } |
