summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-27 09:44:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-27 09:44:51 +0000
commitc8ab56e384677b0f57b1a512a2002dc3b66f6c57 (patch)
tree36b6f11822d0a460bf29dd87267a97beb11cb1f0
parentcd1dc9bdaf0b8f1c84cfacabc4832b4e159d95cd (diff)
downloadruby-c8ab56e384677b0f57b1a512a2002dc3b66f6c57.tar.gz
ruby-c8ab56e384677b0f57b1a512a2002dc3b66f6c57.tar.xz
ruby-c8ab56e384677b0f57b1a512a2002dc3b66f6c57.zip
* vm_dump.c (rb_vm_bugreport): no empty lines.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--vm_dump.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 191dbc4c2..eb2a89f22 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -601,15 +601,13 @@ rb_vm_bugreport(void)
fprintf(stderr, "-- C level backtrace information "
"-------------------------------------------\n");
- for (i=0; i<n; i++) {
- const char *info = syms ? syms[i] : "";
- fprintf(stderr, "%p %s\n", trace[i], info);
- }
- fprintf(stderr, "\n");
-
if (syms) {
+ for (i=0; i<n; i++) {
+ fprintf(stderr, "%s\n", syms[i]);
+ }
free(syms);
}
+ fprintf(stderr, "\n");
}
#endif
}