[Spice-devel] [PATCH spice-gtk 04/14] channel: add SPICE_DISABLE_CHANNELS
Christophe Fergeau
cfergeau at redhat.com
Thu Sep 12 09:20:48 PDT 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130912/0214988a/attachment.pgp>
More information about the Spice-devel
mailing list