[ruby-cvs:56351] usa:r49201 (trunk): * eval_error.c (error_print): pos and len parameters of rb_str_substr()

usa at ruby-lang.org usa at ruby-lang.org
Sat Jan 10 12:35:12 JST 2015


usa	2015-01-10 12:35:11 +0900 (Sat, 10 Jan 2015)

  New Revision: 49201

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

  Log:
    * 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 files:
    trunk/ChangeLog
    trunk/eval_error.c


More information about the ruby-cvs mailing list