Project

General

Profile

« Previous | Next » 

Revision b3da86e8

Added by yugui (Yuki Sonoda) over 12 years ago

merges r33379 and r33395 from trunk into ruby_1_9_3.

  • gc.c (rb_gc_set_params): output GC parameter change messages only
    if -w/-v options are specified. these messages are output to stderr,
    not to stdout. [ruby-core:39795] [Bug #5380]

  • test/ruby/test_gc.rb (test_gc_parameter): add test for it.
    --

  • gc.c (rb_gc_set_params): ruby_verbose can be Qnil, so use RTEST.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e