From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nv4CB-0005Os-5A for qemu-devel@nongnu.org; Fri, 26 Mar 2010 03:43:07 -0400 Received: from [140.186.70.92] (port=60046 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nv4C9-0005Oa-Ch for qemu-devel@nongnu.org; Fri, 26 Mar 2010 03:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nv4C7-0000nh-Ou for qemu-devel@nongnu.org; Fri, 26 Mar 2010 03:43:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48520) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nv4C7-0000nb-Gd for qemu-devel@nongnu.org; Fri, 26 Mar 2010 03:43:03 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2Q7h2Iu012516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 26 Mar 2010 03:43:02 -0400 From: Markus Armbruster References: <1269340078-16446-1-git-send-email-armbru@redhat.com> <1269340078-16446-3-git-send-email-armbru@redhat.com> <20100324163136.2a3a5ab5@redhat.com> <20100325143948.77b8a1f9@redhat.com> Date: Fri, 26 Mar 2010 08:43:00 +0100 In-Reply-To: <20100325143948.77b8a1f9@redhat.com> (Luiz Capitulino's message of "Thu, 25 Mar 2010 14:39:48 -0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH 2/4] monitor: New argument type 'b' List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org Luiz Capitulino writes: > Ok, but strncmp() will return 0 if p - beg = 0, right? In this > case the current implementation will put true on the dict for a line like: > > (qemu) set_link foo > > Which should return an error to the user then. Brain fart. I'll respin. Thanks for catching this!