gnulib: update.

* gnulib: Update to latest.
	* lib/.cvsignore, lib/.gitignore, m4/.cvsignore,
	* m4/.gitignore: Regen.
	* src/symtab.c (symbol_from_uniqstr, semantic_type_from_uniqstr):
	Call xalloc_die on hash_insert failures.
	Requested by the new __warn_unused_result__ attribute of
	hash_insert.
This commit is contained in:
Akim Demaille
2009-06-10 10:40:55 +02:00
parent e3a33f7c23
commit ed15d907c5
6 changed files with 19 additions and 2 deletions

View File

@@ -680,7 +680,8 @@ symbol_from_uniqstr (const uniqstr key, location loc)
{
/* First insertion in the hash. */
entry = symbol_new (key, loc);
hash_insert (symbol_table, entry);
if (!hash_insert (symbol_table, entry))
xalloc_die ();
}
return entry;
}
@@ -704,7 +705,8 @@ semantic_type_from_uniqstr (const uniqstr key)
{
/* First insertion in the hash. */
entry = semantic_type_new (key);
hash_insert (semantic_type_table, entry);
if (!hash_insert (semantic_type_table, entry))
xalloc_die ();
}
return entry;
}