[ruby-cvs:64966] nobu:r57800 (trunk): string.c: negation of LONG_MIN

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 7 18:13:41 JST 2017


nobu	2017-03-07 18:13:41 +0900 (Tue, 07 Mar 2017)

  New Revision: 57800

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

  Log:
    string.c: negation of LONG_MIN
    
    * string.c (rb_str_update): do not use negation of LONG_MIN, which
      is negative too.

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


More information about the ruby-cvs mailing list