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

ruby-changes:13831

From: nobu <ko1@a...>
Date: Mon, 2 Nov 2009 14:54:13 +0900 (JST)
Subject: [ruby-changes:13831] Ruby:r25630 (trunk): * eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception):

nobu	2009-11-02 14:52:55 +0900 (Mon, 02 Nov 2009)

  New Revision: 25630

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

  Log:
    * eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception):
      suppressed shorten-64-to-32 warnings.

  Modified files:
    trunk/ChangeLog
    trunk/eval.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 25629)
+++ ChangeLog	(revision 25630)
@@ -1,3 +1,8 @@
+Mon Nov  2 14:52:53 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception):
+	  suppressed shorten-64-to-32 warnings.
+
 Mon Nov  2 14:43:48 2009  NAKAMURA Usaku  <usa@r...>
 
 	* thread_pthread.c (native_stop_timer_thread): delay joinning timer
Index: eval.c
===================================================================
--- eval.c	(revision 25629)
+++ eval.c	(revision 25630)
@@ -431,7 +431,7 @@
 rb_exc_raise(VALUE mesg)
 {
     if (!NIL_P(mesg)) {
-	mesg = make_exception(1, &mesg, Qfalse);
+	mesg = make_exception(1, &mesg, FALSE);
     }
     rb_longjmp(TAG_RAISE, mesg);
 }
@@ -440,7 +440,7 @@
 rb_exc_fatal(VALUE mesg)
 {
     if (!NIL_P(mesg)) {
-	mesg = make_exception(1, &mesg, Qfalse);
+	mesg = make_exception(1, &mesg, FALSE);
     }
     rb_longjmp(TAG_FATAL, mesg);
 }
@@ -543,7 +543,7 @@
 VALUE
 rb_make_exception(int argc, VALUE *argv)
 {
-    return make_exception(argc, argv, Qtrue);
+    return make_exception(argc, argv, TRUE);
 }
 
 void

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

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