diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-05 04:26:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-05 04:26:20 +0000 |
commit | 789f9c22042eabaabde09cbbe80b6c73fb11efe0 (patch) | |
tree | cfea98e989a954ca748dbaea8b4ecbd500d87c6d | |
parent | 3f443e6115cb4502f200db53e231487f83555d72 (diff) | |
download | ruby-789f9c22042eabaabde09cbbe80b6c73fb11efe0.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | missing/alloca.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Thu Apr 5 13:26:15 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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 <naruse@ruby-lang.org> * 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(); |