[ruby-cvs:56448] naruse:r49298 (ruby_2_2): merge revision(s) 49201, 49203: [Backport #10727]

naruse at ruby-lang.org naruse at ruby-lang.org
Sat Jan 17 16:47:32 JST 2015


naruse	2015-01-17 16:47:29 +0900 (Sat, 17 Jan 2015)

  New Revision: 49298

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49298

  Log:
    merge revision(s) 49201,49203: [Backport #10727]
    
    * eval_error.c (error_print): pos and len parameters of rb_str_substr()
      are counted by characters, not bytes.  use rb_str_subseq() instead.
      [Bug #10727] [ruby-core:67473]

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/eval_error.c
    branches/ruby_2_2/test/ruby/test_exception.rb
    branches/ruby_2_2/version.h


More information about the ruby-cvs mailing list