[ruby-cvs:66450] rhe:r59272 (trunk): string.c: preserve coderange in String#setbyte

rhe at ruby-lang.org rhe at ruby-lang.org
Thu Jul 6 16:21:17 JST 2017


rhe	2017-07-06 16:21:17 +0900 (Thu, 06 Jul 2017)

  New Revision: 59272

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

  Log:
    string.c: preserve coderange in String#setbyte
    
    Fix a wrong jump so replacing a byte in an ASCII-only string with an
    ASCII character won't clear the coderange.

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list