]> git.saurik.com Git - bison.git/commitdiff
gnulib: update.
authorAkim Demaille <demaille@gostai.com>
Wed, 10 Jun 2009 08:40:55 +0000 (10:40 +0200)
committerAkim Demaille <demaille@gostai.com>
Thu, 25 Jun 2009 04:57:25 +0000 (06:57 +0200)
* 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.

ChangeLog
gnulib
lib/.cvsignore
lib/.gitignore
m4/.cvsignore
m4/.gitignore
src/symtab.c

index e02fb9a34868b8ca4a5c0f1112964469b602f6ee..96cbb7de41ddea14fc186f28ff802b61c1140f57 100644 (file)
--- a/ChangeLog
+++ b/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>
 
        * data/c++.m4: Update copyright year.
diff --git a/gnulib b/gnulib
index 5a1286a9f8597c0063a82645b55f3e97433fc521..35b2dca2714e8d5439c5e42eadf5b4cd662ff1ba 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 5a1286a9f8597c0063a82645b55f3e97433fc521
+Subproject commit 35b2dca2714e8d5439c5e42eadf5b4cd662ff1ba
index 412882f36350910f8137bd5e23ea40836b8d30e6..a9d58230debfcb63eb8c56a4e903324abba97525 100644 (file)
@@ -4,6 +4,7 @@ Makefile.in
 argmatch.c
 argmatch.h
 basename.c
+bitrotate.h
 c-ctype.c
 c-ctype.h
 c-strcase.h
@@ -30,6 +31,7 @@ getopt.in.h
 getopt1.c
 getopt_.h
 getopt_int.h
+getpagesize.c
 gettext.h
 gnulib.mk
 hash.c
@@ -45,6 +47,8 @@ mbrtowc.c
 mbsinit.c
 mbswidth.c
 mbswidth.h
+memchr.c
+memchr.valgrind
 obstack.c
 obstack.h
 pipe-safer.c
index b647a928b490d0fe8b8e9da15c238a90d6116a5a..d3f4a0ac4b81b25c2fa1dac97389bc92d9eaefa9 100644 (file)
@@ -7,6 +7,7 @@
 /argmatch.c
 /argmatch.h
 /basename.c
+/bitrotate.h
 /c-ctype.c
 /c-ctype.h
 /c-strcase.h
@@ -33,6 +34,7 @@
 /getopt1.c
 /getopt_.h
 /getopt_int.h
+/getpagesize.c
 /gettext.h
 /gnulib.mk
 /hash.c
@@ -48,6 +50,8 @@
 /mbsinit.c
 /mbswidth.c
 /mbswidth.h
+/memchr.c
+/memchr.valgrind
 /obstack.c
 /obstack.h
 /pipe-safer.c
index 3cdc569e86bf95aea956310ffd94c36d0ef2ea0b..eb2f1732990044a7f7fa99e7dc329c6c8bf8e4f1 100644 (file)
@@ -11,6 +11,7 @@ error.m4
 exitfail.m4
 extensions.m4
 getopt.m4
+getpagesize.m4
 gettext.m4
 gnulib-cache.m4
 gnulib-common.m4
@@ -39,6 +40,8 @@ mbrtowc.m4
 mbsinit.m4
 mbstate_t.m4
 mbswidth.m4
+memchr.m4
+mmap-anon.m4
 multiarch.m4
 nls.m4
 po.m4
index 0755b7d7acbd59762a6737ca9e7e107929516426..16ced35a6069610ffb0dcdd4468d8ec151b37931 100644 (file)
@@ -11,6 +11,7 @@
 /exitfail.m4
 /extensions.m4
 /getopt.m4
+/getpagesize.m4
 /gettext.m4
 /gnulib-cache.m4
 /gnulib-common.m4
@@ -39,6 +40,8 @@
 /mbsinit.m4
 /mbstate_t.m4
 /mbswidth.m4
+/memchr.m4
+/mmap-anon.m4
 /multiarch.m4
 /nls.m4
 /po.m4
index 1db83f63ad515740c93c52ff1242609bb197f7f6..bbd5497f5552a909a9aeb1209295808fa7b5ead4 100644 (file)
@@ -672,7 +672,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;
 }
@@ -696,7 +697,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;
 }