gnulib: update

Contains the creation of the xhash module.
https://lists.gnu.org/archive/html/bug-gnulib/2019-09/msg00046.html

* src/muscle-tab.c, src/state.c, src/symtab.c, src/uniqstr.c:
Use hash_xinitialize.
This commit is contained in:
Akim Demaille
2019-09-09 19:40:31 +02:00
parent 06a273625b
commit 84a6621c78
7 changed files with 43 additions and 47 deletions

View File

@@ -126,10 +126,8 @@ muscle_init (void)
/* Initialize the muscle obstack. */
obstack_init (&muscle_obstack);
muscle_table = hash_initialize (HT_INITIAL_CAPACITY, NULL, hash_muscle,
hash_compare_muscles, muscle_entry_free);
if (!muscle_table)
xalloc_die ();
muscle_table = hash_xinitialize (HT_INITIAL_CAPACITY, NULL, hash_muscle,
hash_compare_muscles, muscle_entry_free);
/* Version and input file. */
MUSCLE_INSERT_STRING ("version", VERSION);