diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-20 02:05:21 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-20 02:05:21 +0000 |
commit | b65dda51bd8731a30a94e394c31198427b90a368 (patch) | |
tree | 1effce6ae8464057c8c39478035b2e5fd9d4c7f1 | |
parent | b74e1b21dbb15d67945e36153368bb4aa78dcd68 (diff) | |
download | ruby-b65dda51bd8731a30a94e394c31198427b90a368.tar.gz |
* lib/tracer.rb (Tracer.trace_func): printf to stdout
Patch by Michal Fojtik [ruby-core:45219] [Bug #6490]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/tracer.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Nov 20 11:05:00 2012 Zachary Scott <zachary@zacharyscott.net> + + * 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@gmail.com> * vm_dump.c: not to include probes.h because the code does not depend diff --git a/lib/tracer.rb b/lib/tracer.rb index 4b2429508d..7bb0678cef 100644 --- a/lib/tracer.rb +++ b/lib/tracer.rb @@ -205,7 +205,7 @@ class Tracer else source = get_line(file, line) end - printf("%s:%d:%s:%s: %s", + stdout.printf("%s:%d:%s:%s: %s", file, line, klass || '', |