diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-10 14:52:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-10 14:52:06 +0000 |
commit | efae6194582001cb12108bc101d22dc1ed9a660c (patch) | |
tree | ffc8141e760ab852a85ccd7592efd60be2d542dd /include | |
parent | 0934e6c014fdbf178b1dd0d4f27c3e857491d641 (diff) | |
download | ruby-efae6194582001cb12108bc101d22dc1ed9a660c.tar.gz |
* st.c: fix packed num_entries on delete_safe. patched by Sokolov
Yura at https://github.com/ruby/ruby/pull/84
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/st.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ruby/st.h b/include/ruby/st.h index dbb0de45a8..3c48b3f8d2 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -96,7 +96,10 @@ struct st_table { struct st_table_entry **bins; struct st_table_entry *head, *tail; } big; - struct st_packed_bins *packed; + struct { + struct st_packed_entry *entries; + st_index_t real_entries; + } packed; } as; }; |