[ruby-cvs:73000] shyouhei:r65900 (trunk): char is not unsigned

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Wed Nov 21 17:51:39 JST 2018


shyouhei	2018-11-21 17:51:39 +0900 (Wed, 21 Nov 2018)

  New Revision: 65900

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

  Log:
    char is not unsigned
    
    It seems that decades ago, ruby was written under assumption that
    char is unsigned.  Which is of course a false assumption.  We
    need to explicitly store a numeric value into an unsigned char
    variable to tell we expect 0..255 value.

  Modified files:
    trunk/re.c
    trunk/string.c


More information about the ruby-cvs mailing list