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

ruby-changes:25684

From: zzak <ko1@a...>
Date: Tue, 20 Nov 2012 11:06:22 +0900 (JST)
Subject: [ruby-changes:25684] zzak:r37741 (trunk): * lib/tracer.rb (Tracer.trace_func): printf to stdout

zzak	2012-11-20 11:05:21 +0900 (Tue, 20 Nov 2012)

  New Revision: 37741

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

  Log:
    * lib/tracer.rb (Tracer.trace_func): printf to stdout
      Patch by Michal Fojtik [ruby-core:45219] [Bug #6490]

  Modified files:
    trunk/ChangeLog
    trunk/lib/tracer.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37740)
+++ ChangeLog	(revision 37741)
@@ -1,3 +1,8 @@
+Tue Nov 20 11:05:00 2012  Zachary Scott  <zachary@z...>
+
+	* lib/tracer.rb (Tracer.trace_func): printf to stdout
+	  Patch by Michal Fojtik [ruby-core:45219] [Bug #6490]
+
 Mon Nov 19 21:24:18 2012  Naohisa Goto  <ngotogenome@g...>
 
 	* vm_dump.c: not to include probes.h because the code does not depend
Index: lib/tracer.rb
===================================================================
--- lib/tracer.rb	(revision 37740)
+++ lib/tracer.rb	(revision 37741)
@@ -205,7 +205,7 @@
         else
           source = get_line(file, line)
         end
-        printf("%s:%d:%s:%s: %s",
+        stdout.printf("%s:%d:%s:%s: %s",
                file,
                line,
                klass || '',

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

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