mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 10:12:38 +02:00
commit bash-20090226 snapshot
This commit is contained in:
@@ -177,7 +177,7 @@ hash_search (string, table, flags)
|
||||
|
||||
bucket = HASH_BUCKET (string, table, hv);
|
||||
|
||||
for (list = table->bucket_array[bucket]; list; list = list->next)
|
||||
for (list = table->bucket_array ? table->bucket_array[bucket] : 0; list; list = list->next)
|
||||
{
|
||||
if (hv == list->khash && STREQ (list->key, string))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user