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

ruby-changes:26986

From: ko1 <ko1@a...>
Date: Mon, 4 Feb 2013 12:46:22 +0900 (JST)
Subject: [ruby-changes:26986] ko1:r39038 (trunk): * vm_dump.c (control_frame_dump): capitalize prefix of `ep'

ko1	2013-02-04 12:46:12 +0900 (Mon, 04 Feb 2013)

  New Revision: 39038

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

  Log:
    * vm_dump.c (control_frame_dump): capitalize prefix of `ep'
      if `ep' points an env object.

  Modified files:
    trunk/ChangeLog
    trunk/vm_dump.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39037)
+++ ChangeLog	(revision 39038)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Feb  4 12:44:13 2013  Koichi Sasada  <ko1@a...>
+
+	* vm_dump.c (control_frame_dump): capitalize prefix of `ep'
+	  if `ep' points an env object.
+
 Mon Feb  4 04:20:00 2013  Zachary Scott  <zachary@z...>
 
 	* lib/English.rb: Add English module for RDoc to parse, then
Index: vm_dump.c
===================================================================
--- vm_dump.c	(revision 39037)
+++ vm_dump.c	(revision 39038)
@@ -117,7 +117,7 @@ control_frame_dump(rb_thread_t *th, rb_c https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L117
 	fprintf(stderr, "p:%04"PRIdPTRDIFF" ", pc);
     }
     fprintf(stderr, "s:%04"PRIdPTRDIFF" ", cfp->sp - th->stack);
-    fprintf(stderr, ep_in_heap == ' ' ? "e:%06"PRIdPTRDIFF" " : "e:%06"PRIxPTRDIFF" ", ep % 10000);
+    fprintf(stderr, ep_in_heap == ' ' ? "e:%06"PRIdPTRDIFF" " : "E:%06"PRIxPTRDIFF" ", ep % 10000);
     fprintf(stderr, "%-6s", magic);
     if (line) {
 	fprintf(stderr, " %s", posbuf);

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

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