mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
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:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2009-06-10 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
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.
|
||||
|
||||
2009-05-22 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||
|
||||
Convert multiple variable definition warnings to complaints.
|
||||
|
||||
@@ -45,6 +45,7 @@ mbrtowc.c
|
||||
mbsinit.c
|
||||
mbswidth.c
|
||||
mbswidth.h
|
||||
memchr.c
|
||||
obstack.c
|
||||
obstack.h
|
||||
pipe-safer.c
|
||||
|
||||
1
lib/.gitignore
vendored
1
lib/.gitignore
vendored
@@ -48,6 +48,7 @@
|
||||
/mbsinit.c
|
||||
/mbswidth.c
|
||||
/mbswidth.h
|
||||
/memchr.c
|
||||
/obstack.c
|
||||
/obstack.h
|
||||
/pipe-safer.c
|
||||
|
||||
@@ -39,6 +39,7 @@ mbrtowc.m4
|
||||
mbsinit.m4
|
||||
mbstate_t.m4
|
||||
mbswidth.m4
|
||||
memchr.m4
|
||||
multiarch.m4
|
||||
nls.m4
|
||||
po.m4
|
||||
|
||||
1
m4/.gitignore
vendored
1
m4/.gitignore
vendored
@@ -39,6 +39,7 @@
|
||||
/mbsinit.m4
|
||||
/mbstate_t.m4
|
||||
/mbswidth.m4
|
||||
/memchr.m4
|
||||
/multiarch.m4
|
||||
/nls.m4
|
||||
/po.m4
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user