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

ruby-changes:38536

From: ko1 <ko1@a...>
Date: Sun, 24 May 2015 01:36:43 +0900 (JST)
Subject: [ruby-changes:38536] ko1:r50617 (trunk): * debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().

ko1	2015-05-24 01:36:26 +0900 (Sun, 24 May 2015)

  New Revision: 50617

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

  Log:
    * debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().

  Modified files:
    trunk/ChangeLog
    trunk/debug.c
Index: debug.c
===================================================================
--- debug.c	(revision 50616)
+++ debug.c	(revision 50617)
@@ -115,7 +115,7 @@ ID https://github.com/ruby/ruby/blob/trunk/debug.c#L115
 ruby_debug_print_id(int level, int debug_level, const char *header, ID id)
 {
     if (level < debug_level) {
-	fprintf(stderr, "DBG> %s: %"PRIsVALUE"\n", header, rb_id2str(id));
+	fprintf(stderr, "DBG> %s: %s\n", header, rb_id2name(id));
 	fflush(stderr);
     }
     return id;
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50616)
+++ ChangeLog	(revision 50617)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun May 24 01:35:22 2015  Koichi Sasada  <ko1@a...>
+
+	* debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().
+
 Sat May 23 18:38:46 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* man/*.1: updated dates in man pages.

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

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