void
uniqstr_assert (char const *str)
{
- if (!hash_lookup (uniqstrs_table, str))
+ uniqstr *s = hash_lookup (uniqstrs_table, str);
+ if (!s || s != (uniqstr *)str)
{
error (0, 0,
"not a uniqstr: %s", quotearg (str));
int
-uniqstr_cmp(uniqstr l, uniqstr r)
+uniqstr_cmp (uniqstr l, uniqstr r)
{
return (l == r ? 0
: !l ? -1