Sebastien Bacher wrote:
> Gary, thank you for the work on that. You use "if (p > q && p[-1] == '\\' && 
> error == NULL)" 
> 
> "  string_value = g_new (gchar, length);
> 
>   p = (gchar *) value;
>   q = string_value;
> ..."
> 
> they are different variables, what "p > q" verifies for you? I would rather 
> use "p > value" as condition, what do you think about it?

While I'd hate to admit to making a mistake, you're right. p and q are 
completely unrelated (as regards where they are in memory), and I agree 
with using that condition instead.

-- 
desktop-file-utils -q always segfaults
https://launchpad.net/bugs/43977

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to