From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47008 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxlJf-0000at-6W for qemu-devel@nongnu.org; Mon, 20 Sep 2010 14:42:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxlJe-0006l8-2M for qemu-devel@nongnu.org; Mon, 20 Sep 2010 14:42:15 -0400 Received: from mail-qy0-f180.google.com ([209.85.216.180]:35477) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxlJd-0006l3-U6 for qemu-devel@nongnu.org; Mon, 20 Sep 2010 14:42:14 -0400 Received: by qyk31 with SMTP id 31so4901108qyk.4 for ; Mon, 20 Sep 2010 11:42:13 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4C97A73C.4070102@codemonkey.ws> References: <4C911D8F.1060406@codemonkey.ws> <4C97A73C.4070102@codemonkey.ws> From: Blue Swirl Date: Mon, 20 Sep 2010 18:41:52 +0000 Message-ID: Subject: Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info() Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel On Mon, Sep 20, 2010 at 6:26 PM, Anthony Liguori wr= ote: > On 09/19/2010 11:16 AM, Blue Swirl wrote: >> >> On Wed, Sep 15, 2010 at 7:25 PM, Anthony Liguori >> =C2=A0wrote: >> >>> >>> On 09/15/2010 02:11 PM, Blue Swirl wrote: >>> >>>> >>>> Hi, >>>> >>>> I tried to test QEMU on Win2k, but there are run time errors because >>>> of missing {get,free}{addr,name}info() functions. After adding dummy >>>> defines in place, there are no more errors. >>>> >>>> I found a similar case, where a compatibility patch was proposed: >>>> http://trac.filezilla-project.org/ticket/1532 >>>> >>>> The patch is a bit heavy, consisting of run time detection of Win2k >>>> and full replacements for the functions. Are there any alternative >>>> solutions? I'm by no means a Windows expert. >>>> >>>> >>> >>> Win2k is EOL so I don't think it's useful for us to support it as a hos= t. >>> =C2=A0So any type of patch is just going to add additional complexity f= or very >>> little real gain. >>> >> >> I made a compatibility patch based on the FileZilla patch. The impact >> is very low, outside of the new files added, only Makefiles are >> changed. >> > > Does gnulib have a similar replacement function? Very similar, in fact that must be the source. > The nice thing about gnulib is that in the long term, we could potentiall= y > use gnulib for compatibility and make sure to get updated code. One problem is that the current versions use GPLv3.