From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEzAY-00064L-MS for qemu-devel@nongnu.org; Mon, 11 Mar 2013 05:37:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEzAX-00084J-3T for qemu-devel@nongnu.org; Mon, 11 Mar 2013 05:37:22 -0400 Date: Mon, 11 Mar 2013 10:37:11 +0100 From: Stefan Hajnoczi Message-ID: <20130311093711.GA2543@stefanha-thinkpad.redhat.com> References: <1362769112-6097-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1362769112-6097-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] MinGW: Replace setsockopt by qemu_setsocketopt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On Fri, Mar 08, 2013 at 07:58:32PM +0100, Stefan Weil wrote: > Instead of adding missing type casts which are needed by MinGW for the > 4th argument, the patch uses qemu_setsockopt which was invented for this > purpose. > > Signed-off-by: Stefan Weil > --- > > I did not fix some coding style issues in modified slirp code > (tabs, line length). Nor did I replace setsockopt in code which > is unused for MinGW (linux-user, tests). > > - Stefan W. > > > bt-host.c | 2 +- > gdbstub.c | 2 +- > net/socket.c | 21 ++++++++++----------- > slirp/misc.c | 4 ++-- > slirp/socket.c | 4 ++-- > slirp/tcp_subr.c | 8 ++++---- > slirp/udp.c | 2 +- > util/osdep.c | 4 ++-- > util/qemu-sockets.c | 10 +++++----- > 9 files changed, 28 insertions(+), 29 deletions(-) Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan