summaryrefslogtreecommitdiff
path: root/lib/tracer.rb
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-20 02:05:21 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-20 02:05:21 +0000
commitb65dda51bd8731a30a94e394c31198427b90a368 (patch)
tree1effce6ae8464057c8c39478035b2e5fd9d4c7f1 /lib/tracer.rb
parentb74e1b21dbb15d67945e36153368bb4aa78dcd68 (diff)
* 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
Diffstat (limited to 'lib/tracer.rb')
-rw-r--r--lib/tracer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tracer.rb b/lib/tracer.rb
index 4b24295..7bb0678 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 || '',