[ruby-cvs:51670] nobu:r44525 (trunk): object.c: hash value from objid with salt

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jan 8 15:55:25 JST 2014


nobu	2014-01-08 15:55:24 +0900 (Wed, 08 Jan 2014)

  New Revision: 44525

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

  Log:
    object.c: hash value from objid with salt
    
    * hash.c (rb_objid_hash): return hash value from object ID with a
      salt, extract from rb_any_hash().
    * object.c (rb_obj_hash): return same value as rb_any_hash().
      fix r44125.  [ruby-core:59638] [Bug #9381]

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


More information about the ruby-cvs mailing list