|
From: | Valentin Tolmer |
Subject: | Re: Weird problem |
Date: | Fri, 28 Jun 2013 14:28:18 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
Hi,Indeed, you were right, it's always the same address. However, uniqstr_assert only checks that the string has already been inserted in the uniqstr table, so as the char have already been used for symbols, they are present in the table, and uniqstr_assert doesn't fail. I believe a better alternative to uniqstr_assert would be to check that the pointed address is the same as the result of the table lookup, no?
Thanks Valentin
[Prev in Thread] | Current Thread | [Next in Thread] |