summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/tracer.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 961d396a79..bcadf1ef37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 || '',