[ruby-cvs:67000] nagachika:r59822 (ruby_2_4): merge revision(s) 59763: [Backport #13874]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Sep 10 21:17:49 JST 2017


nagachika	2017-09-10 21:17:49 +0900 (Sun, 10 Sep 2017)

  New Revision: 59822

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

  Log:
    merge revision(s) 59763: [Backport #13874]
    
    string.c: fix false coderange
    
    * string.c (rb_enc_str_scrub): enc can differ from the actual
      encoding of the string, the cached coderange is useless then.
      [ruby-core:82674] [Bug #13874]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/string.c
    branches/ruby_2_4/test/ruby/test_transcode.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list