From 789f9c22042eabaabde09cbbe80b6c73fb11efe0 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 5 Apr 2012 04:26:20 +0000 Subject: [PATCH] * missing/alloca.c (xmalloc, xfree): use ruby version, not depending on RUBY_LIB_PREFIX. [ruby-dev:45492][Bug #6255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ missing/alloca.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3fc5da0657..1658266e67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 5 13:26:15 2012 Nobuyoshi Nakada + + * missing/alloca.c (xmalloc, xfree): use ruby version, not + depending on RUBY_LIB_PREFIX. [ruby-dev:45492][Bug #6255] + Wed Apr 4 13:06:39 2012 NARUSE, Yui * lib/ftp/ftp.rb (Net::FTP#close): restore original read_timeout. diff --git a/missing/alloca.c b/missing/alloca.c index 960cda0c32..96121f7647 100644 --- a/missing/alloca.c +++ b/missing/alloca.c @@ -58,10 +58,8 @@ typedef char *pointer; /* generic pointer type */ #define NULL 0 /* null pointer constant */ #endif -#ifdef RUBY_LIB_PREFIX #define xmalloc ruby_xmalloc #define xfree ruby_xfree -#endif extern void xfree(); extern pointer xmalloc();