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

ruby-changes:33377

From: naruse <ko1@a...>
Date: Fri, 28 Mar 2014 10:17:55 +0900 (JST)
Subject: [ruby-changes:33377] naruse:r45456 (trunk): revert r45417

naruse	2014-03-28 10:17:51 +0900 (Fri, 28 Mar 2014)

  New Revision: 45456

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

  Log:
    revert r45417

  Modified files:
    trunk/vm_dump.c
Index: vm_dump.c
===================================================================
--- vm_dump.c	(revision 45455)
+++ vm_dump.c	(revision 45456)
@@ -818,6 +818,15 @@ rb_vm_bugreport(void) https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L818
 	fputs("\n", stderr);
     }
 
+#if HAVE_BACKTRACE || defined(_WIN32)
+    fprintf(stderr, "-- C level backtrace information "
+	    "-------------------------------------------\n");
+    rb_print_backtrace();
+
+
+    fprintf(stderr, "\n");
+#endif /* HAVE_BACKTRACE */
+
     if (other_runtime_info || vm) {
 	fprintf(stderr, "-- Other runtime information "
 		"-----------------------------------------------\n\n");
@@ -897,14 +906,5 @@ rb_vm_bugreport(void) https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L906
 	    fprintf(stderr, "\n");
 	}
 #endif /* __FreeBSD__ */
-#if HAVE_BACKTRACE || defined(_WIN32)
-    fprintf(stderr, "-- C level backtrace information "
-	    "-------------------------------------------\n");
-    rb_print_backtrace();
-
-
-    fprintf(stderr, "\n");
-#endif /* HAVE_BACKTRACE */
-
     }
 }

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

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