ruby-cvs:17148
From: (matz) <matz ruby-lang.org>
Date: Sat, 15 Jul 2006 02:12:50 +0900
Subject: [ruby-cvs:17148] ruby: * st.c (malloc): use xmalloc/xcalloc instead of plain
matz Sat, 15 Jul 2006 02:12:50 +0900
Modified files: (Branch: ruby_1_8)
ruby:
ChangeLog gc.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 empty nomem_error.
Revision Changes Path
1.2673.2.1733 +1 -1 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2673.2.1732&r2=1.2673.2.1733
1.168.2.43 +3 -3 ruby/gc.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/gc.c?cvsroot=src&r1=1.168.2.42&r2=1.168.2.43