commit bash-20141128 snapshot

This commit is contained in:
Chet Ramey
2014-12-02 16:15:47 -05:00
parent 0a233f3ec4
commit 09f70f2f67
59 changed files with 54337 additions and 2021 deletions
+10
View File
@@ -179,6 +179,7 @@ hash_search (string, table, flags)
for (list = table->bucket_array ? table->bucket_array[bucket] : 0; list; list = list->next)
{
/* This is the comparison function */
if (hv == list->khash && STREQ (list->key, string))
{
list->times_found++;
@@ -402,13 +403,22 @@ fatal_error (const char *format, ...)
abort();
}
void
internal_warning (const char *format, ...)
{
}
main ()
{
char string[256];
int count = 0;
BUCKET_CONTENTS *tt;
#if defined (TEST_NBUCKETS)
table = hash_create (TEST_NBUCKETS);
#else
table = hash_create (0);
#endif
for (;;)
{