[ruby-cvs:62716] ngoto:r55552 (trunk): * string.c (rb_str_subseq, str_substr): When RSTRING_EMBED_LEN_MAX

ngoto at ruby-lang.org ngoto at ruby-lang.org
Fri Jul 1 13:50:38 JST 2016


ngoto	2016-07-01 13:50:38 +0900 (Fri, 01 Jul 2016)

  New Revision: 55552

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

  Log:
    * string.c (rb_str_subseq, str_substr): When RSTRING_EMBED_LEN_MAX
      is used, TERM_LEN(str) should be considered with it because
      embedded strings are also processed by TERM_FILL.
      Additional fix for [Bug #12536] [ruby-dev:49699].

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list