diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-06 14:42:57 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-06 14:42:57 +0000 |
| commit | ea74da0c6c71edf8025ff67fbf445251d512acf1 (patch) | |
| tree | 4d547dac3596947771af9fc8997e7b641e605b7d /include/ruby | |
| parent | e6be6ebc7701c31e83cc25a7463bc72c59b2782d (diff) | |
st.c: re-calc hash_val before adding
* st.c (st_update): re-calculate hash_val before adding if key was
changed, otherwise cannot access the newly added element if it
has different hash value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
