diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-27 09:44:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-27 09:44:51 +0000 |
commit | c8ab56e384677b0f57b1a512a2002dc3b66f6c57 (patch) | |
tree | 36b6f11822d0a460bf29dd87267a97beb11cb1f0 /vm_dump.c | |
parent | cd1dc9bdaf0b8f1c84cfacabc4832b4e159d95cd (diff) | |
download | ruby-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
Diffstat (limited to 'vm_dump.c')
-rw-r--r-- | vm_dump.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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 } |