[ruby-cvs:51270] nobu:r44125 (trunk): array.c, hash.c: add salt

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 10 23:44:52 JST 2013


nobu	2013-12-10 23:44:51 +0900 (Tue, 10 Dec 2013)

  New Revision: 44125

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44125

  Log:
    array.c, hash.c: add salt
    
    * array.c (rb_ary_hash): add salt to differentiate false and empty
      array.  [ruby-core:58993] [Bug #9231]
    * hash.c (rb_any_hash, rb_hash_hash): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/array.c
    trunk/hash.c
    trunk/test/ruby/test_array.rb
    trunk/test/ruby/test_hash.rb


More information about the ruby-cvs mailing list