On Thu, Sep 12, 2013 at 06:12:20PM +0200, Marc-André Lureau wrote:
> In glib:
> 
>   domains = g_getenv ("G_MESSAGES_DEBUG");
>   if (((log_level & INFO_LEVELS) == 0) ||
>       domains == NULL ||
>       (strcmp (domains, "all") != 0 && (!log_domain || !strstr
> (domains, log_domain))))
>     return;

Yup, found it too, which is not a great thing to do in this specific case
as external libraries can define their own log domain, so the strstr could
trigger false positives (eg gstreamer and gstr, a made-up string handling
library).

Christophe

Attachment: pgpuzh0YSlSmH.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to