mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8b5ffc3683
commit
5ea16ea6de
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun May 24 01:35:22 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().
|
||||
|
||||
Sat May 23 18:38:46 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* man/*.1: updated dates in man pages.
|
||||
|
|
2
debug.c
2
debug.c
|
@ -115,7 +115,7 @@ ID
|
|||
ruby_debug_print_id(int level, int debug_level, const char *header, ID id)
|
||||
{
|
||||
if (level < debug_level) {
|
||||
fprintf(stderr, "DBG> %s: %"PRIsVALUE"\n", header, rb_id2str(id));
|
||||
fprintf(stderr, "DBG> %s: %s\n", header, rb_id2name(id));
|
||||
fflush(stderr);
|
||||
}
|
||||
return id;
|
||||
|
|
Loading…
Add table
Reference in a new issue