[ruby-cvs:72721] shyouhei:r65621 (trunk): st.c: straight-forward comparison of characters

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Thu Nov 8 13:24:26 JST 2018


shyouhei	2018-11-08 13:24:26 +0900 (Thu, 08 Nov 2018)

  New Revision: 65621

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

  Log:
    st.c: straight-forward comparison of characters
    
    These functions are used in strcasehash, which is used to store encoding
    names.  Encoding names often include hyphens (e.g. "UTF-8"), and
    ` '-' - 'A' ` is negative (cannot express in unsigned int).
    
    Don't be tricky, just do what to do.

  Modified files:
    trunk/st.c


More information about the ruby-cvs mailing list