Received: from eggs.gnu.org ([2001:4830:134:3::10]:42745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5YPd-0007Iw-NO for qemu-devel@nongnu.org; Thu, 18 Jun 2015 07:55:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5YPY-0004wy-NN for qemu-devel@nongnu.org; Thu, 18 Jun 2015 07:55:17 -0400 From: Markus Armbruster References: <1432749229-4861-1-git-send-email-armbru@redhat.com> <87y4jki2jy.fsf@blackfin.pond.sub.org> Date: Thu, 18 Jun 2015 13:55:09 +0200 In-Reply-To: <87y4jki2jy.fsf@blackfin.pond.sub.org> (Markus Armbruster's message of "Tue, 16 Jun 2015 08:34:57 +0200") Message-ID: <87twu5s02q.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] Revert "guest agent: remove g_strcmp0 usage" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial Cc: mdroth@linux.vnet.ibm.com, qemu-devel@nongnu.org Falling back to qemu-trivial, hope that's okay. Markus Armbruster writes: > Ping? > > Markus Armbruster writes: > >> Since we now require GLib 2.22+ (commit f40685c), we don't have to >> work around lack of g_strcmp0() anymore. >> >> This reverts commit 8f4774789947bc4bc4c8d026a289fe980d3d2ee1. >> >> Conflicts: >> qemu-ga.c >> >> Signed-off-by: Markus Armbruster >> --- >> qga/main.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/qga/main.c b/qga/main.c >> index 9939a2b..0b788e1 100644 >> --- a/qga/main.c >> +++ b/qga/main.c >> @@ -274,7 +274,7 @@ static void ga_log(const gchar *domain, GLogLevelFlags level, >> >> level &= G_LOG_LEVEL_MASK; >> #ifndef _WIN32 >> - if (domain && strcmp(domain, "syslog") == 0) { >> + if (g_strcmp0(domain, "syslog") == 0) { >> syslog(LOG_INFO, "%s: %s", level_str, msg); >> } else if (level & s->log_level) { >> #else