From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgmXU-0004V6-I7 for qemu-devel@nongnu.org; Mon, 09 Mar 2009 16:57:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgmXP-0004TH-HC for qemu-devel@nongnu.org; Mon, 09 Mar 2009 16:57:32 -0400 Received: from [199.232.76.173] (port=37406 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgmXP-0004TE-A6 for qemu-devel@nongnu.org; Mon, 09 Mar 2009 16:57:27 -0400 Received: from mx20.gnu.org ([199.232.41.8]:2767) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lglpe-0007YU-Oa for qemu-devel@nongnu.org; Mon, 09 Mar 2009 16:12:14 -0400 Received: from mx2.redhat.com ([66.187.237.31]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lgb5C-0008AM-Lx for qemu-devel@nongnu.org; Mon, 09 Mar 2009 04:43:34 -0400 Message-ID: <49B4D5FE.7050409@redhat.com> Date: Mon, 09 Mar 2009 10:40:30 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] [RFC] Haiku host support and general configure issues References: <6011275057-BeMail@laptop> <49B40B5F.9070507@codemonkey.ws> In-Reply-To: <49B40B5F.9070507@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: haikuports-devs@ports.haiku-files.org Anthony Liguori wrote: >> >>> Another big issue that I mentionned earlier here is the widely used >>> assumption that error codes are positive, which is not the case for >>> BeOS and Haiku. >>> Not fixing this will result in a dangerous binary. >> >> Thanks for the reminder. But that also reminds me, you wanted to >> supply a patch for that! :) > > Such a patch may be something ya'll have to maintain on your own. > This has been discussed a lot in the past and I'm concerned that it's > going to be too invasive. We could define a qemu_errno() which returns errno converted to positive numbers. While it will touch a lot of places, I don't think it can be considered invasive. -- error compiling committee.c: too many arguments to function