fix: g_hash_table_insert prior to glib 2.40 returns void
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 3 May 2019 19:06:45 +0000 (15:06 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 4 May 2019 01:51:07 +0000 (21:51 -0400)
commit95dc9c849ed229971f663b54841d8729c7495f47
tree7cea54da42fe3cb7654fc4d2b11f18929cd0f098
parent684658b12aec270a06feb513a9d3119364b1252e
fix: g_hash_table_insert prior to glib 2.40 returns void

Even the post glib 2.40 version will only return false if the value is
already present in the hashtable but will not fail to add it. The old
value will be handled according to the configuration of the hashtable
which should not be an error.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I5512c921ce220bf8a956c61f594d6a27e6ceb41e
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1247
Tested-by: jenkins
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
compat/compat_mman.c
fd-cache/fd-cache.c
This page took 0.023846 seconds and 4 git commands to generate.