mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 02:10:50 +02:00
Bash-4.1 distribution source
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