mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
3f443e6115
commit
789f9c2204
2 changed files with 5 additions and 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.
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue