diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-21 06:00:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-21 06:00:25 +0000 |
commit | a5908c53519ac38da0032a0b5d9fe61170011d1c (patch) | |
tree | cc5f81eb6213c0a1e69fb129d025dc9a6f131ee6 /st.c | |
parent | 286993e378d976c89a2dd58ef344e24bee13f5e9 (diff) | |
download | ruby-a5908c53519ac38da0032a0b5d9fe61170011d1c.tar.gz ruby-a5908c53519ac38da0032a0b5d9fe61170011d1c.tar.xz ruby-a5908c53519ac38da0032a0b5d9fe61170011d1c.zip |
* st.c (st_clear): reset num_entries too.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -214,6 +214,7 @@ st_clear(st_table *table) ptr = next; } } + table->num_entries = 0; table->head = 0; } |