[前][次][番号順一覧][スレッド一覧]

ruby-changes:23190

From: nobu <ko1@a...>
Date: Thu, 5 Apr 2012 13:26:31 +0900 (JST)
Subject: [ruby-changes:23190] nobu:r35240 (trunk): * missing/alloca.c (xmalloc, xfree): use ruby version, not

nobu	2012-04-05 13:26:20 +0900 (Thu, 05 Apr 2012)

  New Revision: 35240

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35240

  Log:
    * missing/alloca.c (xmalloc, xfree): use ruby version, not
      depending on RUBY_LIB_PREFIX.  [ruby-dev:45492][Bug #6255]

  Modified files:
    trunk/ChangeLog
    trunk/missing/alloca.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35239)
+++ ChangeLog	(revision 35240)
@@ -1,3 +1,8 @@
+Thu Apr  5 13:26:15 2012  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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@r...>
 
 	* lib/ftp/ftp.rb (Net::FTP#close): restore original read_timeout.
Index: missing/alloca.c
===================================================================
--- missing/alloca.c	(revision 35239)
+++ missing/alloca.c	(revision 35240)
@@ -58,10 +58,8 @@
 #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();

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]