{"id":123106,"url":"http://patchwork.ozlabs.org/api/patches/123106/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/1320163646-24291-2-git-send-email-anthony.perard@citrix.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1320163646-24291-2-git-send-email-anthony.perard@citrix.com>","list_archive_url":null,"date":"2011-11-01T16:07:14","name":"[V3,01/13] libxl_qmp: Fix return check of fcntl","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"e87a06f2287fcce78b9c116c11a00e701dde8c80","submitter":{"id":4759,"url":"http://patchwork.ozlabs.org/api/people/4759/?format=json","name":"Anthony PERARD","email":"anthony.perard@citrix.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/1320163646-24291-2-git-send-email-anthony.perard@citrix.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/123106/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/123106/checks/","tags":{},"related":[],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Received":["from lists.gnu.org (lists.gnu.org [140.186.70.17])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id C965DB6F85\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  2 Nov 2011 04:18:24 +1100 (EST)","from localhost ([::1]:38654 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1RLGtH-0002Ny-F0\n\tfor incoming@patchwork.ozlabs.org; Tue, 01 Nov 2011 12:08:43 -0400","from eggs.gnu.org ([140.186.70.92]:54412)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <anthony.perard@citrix.com>) id 1RLGse-0000ti-4x\n\tfor qemu-devel@nongnu.org; Tue, 01 Nov 2011 12:08:05 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <anthony.perard@citrix.com>) id 1RLGsd-0004eM-8A\n\tfor qemu-devel@nongnu.org; Tue, 01 Nov 2011 12:08:04 -0400","from smtp02.citrix.com ([66.165.176.63]:10465)\n\tby eggs.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <anthony.perard@citrix.com>) id 1RLGsd-0004ct-5I\n\tfor qemu-devel@nongnu.org; Tue, 01 Nov 2011 12:08:03 -0400","from ftlpmailmx02.citrite.net ([10.13.107.66])\n\tby FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5;\n\t01 Nov 2011 12:07:43 -0400","from smtp01.ad.xensource.com (10.219.128.104) by\n\tsmtprelay.citrix.com (10.13.107.66) with Microsoft SMTP Server id\n\t8.3.137.0; Tue, 1 Nov 2011 12:07:43 -0400","from perard.uk.xensource.com (dhcp-3-28.uk.xensource.com\n\t[10.80.3.28] (may be forged))\tby smtp01.ad.xensource.com\n\t(8.13.1/8.13.1) with\n\tESMTP id pA1G7YNE014577;\tTue, 1 Nov 2011 09:07:41 -0700"],"X-IronPort-AV":"E=Sophos;i=\"4.69,438,1315195200\"; d=\"scan'208\";a=\"168952471\"","From":"Anthony PERARD <anthony.perard@citrix.com>","To":"QEMU-devel <qemu-devel@nongnu.org>,\n\tStefano Stabellini <stefano.stabellini@eu.citrix.com>","Date":"Tue, 1 Nov 2011 16:07:14 +0000","Message-ID":"<1320163646-24291-2-git-send-email-anthony.perard@citrix.com>","X-Mailer":"git-send-email 1.7.2.5","In-Reply-To":"<1320163646-24291-1-git-send-email-anthony.perard@citrix.com>","References":"<1320163646-24291-1-git-send-email-anthony.perard@citrix.com>","MIME-Version":"1.0","Content-Type":"text/plain","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"66.165.176.63","Cc":"Anthony PERARD <anthony.perard@citrix.com>,\n\tXen Devel <xen-devel@lists.xensource.com>","Subject":"[Qemu-devel] [PATCH V3 01/13] libxl_qmp: Fix return check of fcntl","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.14","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>\n---\n tools/libxl/libxl_qmp.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)","diff":"diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c\nindex 618f20f..ef36348 100644\n--- a/tools/libxl/libxl_qmp.c\n+++ b/tools/libxl/libxl_qmp.c\n@@ -296,7 +296,7 @@ static int qmp_open(libxl__qmp_handler *qmp, const char *qmp_socket_path,\n     if (qmp->qmp_fd < 0) {\n         return -1;\n     }\n-    if ((flags = fcntl(qmp->qmp_fd, F_GETFL)) == 1) {\n+    if ((flags = fcntl(qmp->qmp_fd, F_GETFL)) == -1) {\n         flags = 0;\n     }\n     if (fcntl(qmp->qmp_fd, F_SETFL, flags | O_NONBLOCK) == -1) {\n","prefixes":["V3","01/13"]}