(hash_rehash): Fix a nasty bug: copy the free entry list
authorJim Meyering <jim@meyering.net>
Thu, 18 May 2000 11:06:39 +0000 (11:06 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 18 May 2000 11:06:39 +0000 (11:06 +0000)
commitaa78add2de9e57cdca6b0b9cd51523c41f5e2b71
tree64d0bb1011ba1305ba94128e6da3c44226c328a1
parent3cf14979b7ac48716807a8ac3d66ae31787a19b1
(hash_rehash): Fix a nasty bug: copy the free entry list
back, too, since it may have been modified by allocate_entry.
(hash_delete): Rewrite not to use both(!) the assignment operator
and the comma operator in an if-expression.
lib/hash.c