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

ruby-changes:13926

From: nobu <ko1@a...>
Date: Thu, 12 Nov 2009 14:45:05 +0900 (JST)
Subject: [ruby-changes:13926] Ruby:r25730 (mvm): * thread_pthread.c (CHECK_ERR): removed duplication.

nobu	2009-11-12 14:44:56 +0900 (Thu, 12 Nov 2009)

  New Revision: 25730

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

  Log:
    * thread_pthread.c (CHECK_ERR): removed duplication.

  Modified files:
    branches/mvm/thread_pthread.c

Index: mvm/thread_pthread.c
===================================================================
--- mvm/thread_pthread.c	(revision 25729)
+++ mvm/thread_pthread.c	(revision 25730)
@@ -501,9 +501,6 @@
 			RUBY_STACK_SPACE_LIMIT : RUBY_STACK_MIN/5)
 };
 
-#define CHECK_ERR(expr) \
-    {int err = (expr); if (err) {rb_bug("err: %d - %s", err, #expr);}}
-
 static int
 native_thread_create(rb_thread_t *th)
 {

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

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