ruby-cvs:16175
From: (ocean) <ocean ruby-lang.org>
Date: Mon, 19 Dec 2005 23:10:38 +0900
Subject: [ruby-cvs:16175] ruby: * st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
ocean Mon, 19 Dec 2005 23:10:38 +0900
Modified files:
ruby:
ChangeLog st.c
Log:
* st.c: uses malloc instead of xmalloc to avoid GC. syck uses st_insert
in gram.c to insert node from rb_syck_bad_anchor_handler into
SyckParser's hash table. if GC occurs in st_insert, it's not under
SyckParser's mark system yet. so RString can be released wrongly.
Revision Changes Path
1.4851 +7 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.4850&r2=1.4851
1.39 +12 -24 ruby/st.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/st.c?cvsroot=src&r1=1.38&r2=1.39