[ruby-cvs:72904] shyouhei:r65804 (trunk): string.c: setbyte silently ignores upper bits

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Nov 19 18:52:47 JST 2018


shyouhei	2018-11-19 18:52:46 +0900 (Mon, 19 Nov 2018)

  New Revision: 65804

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

  Log:
    string.c: setbyte silently ignores upper bits
    
    The behaviour of String#setbyte has been depending on the width
    of int, which is not portable.  Must check explicitly.

  Modified files:
    trunk/string.c
    trunk/test/ruby/test_m17n.rb


More information about the ruby-cvs mailing list