(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)
commit9a884a5067e6e36cbc98601d6c053a234d2ce6ef
tree2d65c862d368358a46e6f4cab3952130a69a3677
parent1ff18a19c9c4dad1657f9088442ed8da113d1044
(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