ruby-cvs:17147
From: (matz) <matz ruby-lang.org>
Date: Sat, 15 Jul 2006 02:11:42 +0900
Subject: [ruby-cvs:17147] ruby: * st.c (malloc): use xmalloc/xcalloc instead of plain
matz Sat, 15 Jul 2006 02:11:42 +0900
Modified files: (Branch: ruby_1_8)
ruby:
ChangeLog st.c
Log:
* st.c (malloc): use xmalloc/xcalloc instead of plain
malloc/calloc, to detect memory allocation failure. see
<http://www.nongnu.org/failmalloc/>.
* gc.c (rb_memerror): should not raise nomem_error.
Revision Changes Path
1.2673.2.1732 +8 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2673.2.1731&r2=1.2673.2.1732
1.28.2.5 +5 -0 ruby/st.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/st.c?cvsroot=src&r1=1.28.2.4&r2=1.28.2.5