From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51884 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PesYn-0003CQ-HW for qemu-devel@nongnu.org; Mon, 17 Jan 2011 12:08:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PesYj-0003i8-It for qemu-devel@nongnu.org; Mon, 17 Jan 2011 12:08:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PesYj-0003hj-Af for qemu-devel@nongnu.org; Mon, 17 Jan 2011 12:08:01 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0HH80dI032177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Jan 2011 12:08:00 -0500 From: Alex Williamson In-Reply-To: <1295277867.3216.16.camel@x201> References: <1295277257-17425-1-git-send-email-Jes.Sorensen@redhat.com> <1295277867.3216.16.camel@x201> Content-Type: text/plain; charset="UTF-8" Date: Mon, 17 Jan 2011 10:07:59 -0700 Message-ID: <1295284079.3216.36.camel@x201> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v2 0/2] strtosz() cleanup List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes.Sorensen@redhat.com Cc: kwolf@redhat.com, eblake@redhat.com, qemu-devel@nongnu.org On Mon, 2011-01-17 at 08:24 -0700, Alex Williamson wrote: > On Mon, 2011-01-17 at 16:14 +0100, Jes.Sorensen@redhat.com wrote: > > From: Jes Sorensen > > > > Fix issue with signed char and isspace() as well as clean up switch > > statement using toupper(). > > > > V2 of the patch fixes some types in the commit messages and spells > > Eric correctly. My apologies for getting it wrong. > > > > Jes Sorensen (2): > > strtosz() use unsigned char as isspace() is not defined for signed > > char > > strtosz() use toupper() to simplify switch statement > > > > cutils.c | 10 +++------- > > 1 files changed, 3 insertions(+), 7 deletions(-) > > > > And the modf() usage? Or using STRTOSZ_DEFSUFFIX_* in the switch? Or > avoiding the extra variable in 13/18? Thanks, Sorry, I'm crossing my mailing lists. These are a fine first step. Acked-by: Alex Williamson